From c5371d7fe27b3368b53b34d614b160473d82658d Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Sun, 13 Mar 2022 14:39:12 -0500 Subject: Bump postgres version in docker-compose --- docker-compose.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index e9d0ec9..d8ca319 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,19 +9,21 @@ services: ports: - "8888:8888" environment: - - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=${POSTGRES_DB} + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_USER=${POSTGRES_USER} depends_on: - postgres postgres: container_name: clog-postgres - image: postgres:12-alpine + image: postgres:14-alpine volumes: - .vols/database:/var/lib/postgresql/data ports: - "5555:5432" environment: - - POSTGRES_USER=postgres - - POSTGRES_PASSWORD=postgres - - POSTGRES_DB=clog + - POSTGRES_DB=${POSTGRES_DB} + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_USER=${POSTGRES_USER} -- cgit v1.2.3