@ -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
@ -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/
image: cthulhoo/ttrss-db-pgsql-count-bits:${BUILD_TAG}
image: cthulhoo/ttrss-db-pgsql-12-count-bits:${BUILD_TAG}
build:
context:
./db