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