1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:34:05 +00:00

Fix env variables in docker-compose

This commit is contained in:
lukinovec 2023-04-25 14:04:56 +02:00
parent e7736c8244
commit 6e9d6aa5f4

View file

@ -55,15 +55,15 @@ services:
image: 'postgres:15'
user: 'postgres'
ports:
- '${POSTGRES_PORT:-5432}'
- '${POSTGRES_PORT:-5434}'
environment:
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
PGPORT: '${POSTGRES_PORT:-5432}'
PGPORT: '${POSTGRES_PORT:-5434}'
POSTGRES_DB: main
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
expose:
- '${POSTGRES_PORT:-5432}'
- '${POSTGRES_PORT:-5434}'
healthcheck:
test:
- CMD