diff options
author | Michael McVady <femtonaut@gmail.com> | 2022-03-13 14:39:12 -0500 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2022-03-13 14:39:12 -0500 |
commit | c5371d7fe27b3368b53b34d614b160473d82658d (patch) | |
tree | 6ba9d86b180ef774a47f27bbe33f9b517f8ecaaa /docker-compose.yml | |
parent | cc46d2335793f968182034868247884d3bdba062 (diff) |
Bump postgres version in docker-compose
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 12 |
1 files changed, 7 insertions, 5 deletions
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} |