mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:34:02 +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
|
||||
postgres:
|
||||
image: 'postgres:latest'
|
||||
ports:
|
||||
- '${POSTGRES_PORT:-5432}'
|
||||
environment:
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}' # Superuser password
|
||||
POSTGRES_USER: '${POSTGRES_USER:-root}' # Superuser name
|
||||
POSTGRES_DB: main
|
||||
POSTGRES_USER: '${POSTGRES_USER:-root}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}'
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
|
||||
interval: 10s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue