mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 07:54:03 +00:00
Reverr all docker-compose changes
This commit is contained in:
parent
5754f8bdc4
commit
45df85d2a3
1 changed files with 5 additions and 3 deletions
|
|
@ -54,12 +54,14 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:11
|
image: postgres:11
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: password # Superuser password
|
POSTGRES_PASSWORD: password
|
||||||
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"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue