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:
|
services:
|
||||||
front:
|
front:
|
||||||
build:
|
build:
|
||||||
|
@ -22,6 +20,11 @@ services:
|
||||||
command: "yarn dev --host"
|
command: "yarn dev --host"
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
env_file:
|
env_file:
|
||||||
- .env.dev
|
- .env.dev
|
||||||
- .env
|
- .env
|
||||||
|
@ -35,6 +38,11 @@ services:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
env_file:
|
env_file:
|
||||||
- .env.dev
|
- .env.dev
|
||||||
- .env
|
- .env
|
||||||
|
|
Loading…
Reference in New Issue