Adding healthcheck to trigger
This commit is contained in:
@@ -62,9 +62,10 @@ services:
|
|||||||
electric:
|
electric:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: "timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1"
|
||||||
- CMD-SHELL
|
interval: 10s
|
||||||
- pwd
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
electric:
|
electric:
|
||||||
image: electricsql/electric
|
image: electricsql/electric
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user