mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:34:04 +00:00
Try minimizing docker-compose.yml changes
This commit is contained in:
parent
ef87056862
commit
ed688b6f87
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue