Add healthcheck to containers (#2329) NOCHANGELOG
This commit is contained in:
parent
76eb908d77
commit
7c0ac160c5
12
dev.yml
12
dev.yml
|
@ -1,5 +1,3 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
front:
|
||||
build:
|
||||
|
@ -22,6 +20,11 @@ services:
|
|||
command: "yarn dev --host"
|
||||
|
||||
postgres:
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
env_file:
|
||||
- .env.dev
|
||||
- .env
|
||||
|
@ -35,6 +38,11 @@ services:
|
|||
- internal
|
||||
|
||||
redis:
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
env_file:
|
||||
- .env.dev
|
||||
- .env
|
||||
|
|
Loading…
Reference in New Issue