From 4d0dfc80834f677e04f62942e21454b973c8a935 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 1 Oct 2020 11:44:40 +0300 Subject: [PATCH] rebuild for postgres 12 --- docker-compose.yml | 2 +- src/db/Dockerfile | 4 ++-- src/docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 81f3042..566bd6d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ version: '3' services: db: - image: cthulhoo/ttrss-db-pgsql-count-bits:latest + image: cthulhoo/ttrss-db-pgsql-12-count-bits:latest restart: unless-stopped volumes: - db:/var/lib/postgresql/data diff --git a/src/db/Dockerfile b/src/db/Dockerfile index 9f5021a..c307758 100644 --- a/src/db/Dockerfile +++ b/src/db/Dockerfile @@ -1,8 +1,8 @@ -FROM postgres:11 +FROM postgres:12 EXPOSE 5432 RUN apt-get update -RUN apt-get -y install git libpq-dev postgresql-server-dev-11 +RUN apt-get -y install git libpq-dev postgresql-server-dev-12 RUN apt-get -y install gcc make COPY init-count-bits.sh /docker-entrypoint-initdb.d/ diff --git a/src/docker-compose.yml b/src/docker-compose.yml index e624c0b..ee4a46f 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -5,7 +5,7 @@ version: '3' services: db: - image: cthulhoo/ttrss-db-pgsql-count-bits:${BUILD_TAG} + image: cthulhoo/ttrss-db-pgsql-12-count-bits:${BUILD_TAG} build: context: ./db