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