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

Try minimizing docker-compose.yml changes

This commit is contained in:
lukinovec 2023-05-23 10:16:39 +02:00
parent ef87056862
commit ed688b6f87

View file

@ -53,12 +53,10 @@ services:
retries: 10 retries: 10
postgres: postgres:
image: 'postgres:latest' image: 'postgres:latest'
ports:
- '${POSTGRES_PORT:-5432}'
environment: environment:
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}' # Superuser password
POSTGRES_USER: '${POSTGRES_USER:-root}' # Superuser name
POSTGRES_DB: main POSTGRES_DB: main
POSTGRES_USER: '${POSTGRES_USER:-root}'
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}'
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"] test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
interval: 10s interval: 10s