mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:34:02 +00:00
Use specific Postgres version, use superuser credentials directly
This commit is contained in:
parent
1f9a344f33
commit
0cea45f101
1 changed files with 3 additions and 3 deletions
|
|
@ -52,10 +52,10 @@ services:
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 10
|
||||||
postgres:
|
postgres:
|
||||||
image: 'postgres:latest'
|
image: postgres:11
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-password}' # Superuser password
|
POSTGRES_PASSWORD: password # Superuser password
|
||||||
POSTGRES_USER: '${POSTGRES_USER:-root}' # Superuser name
|
POSTGRES_USER: root # Superuser name
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
|
test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue