mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-18 01:20:31 +00:00
Adding healthcheck to trigger
This commit is contained in:
@@ -62,9 +62,10 @@ services:
|
||||
electric:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pwd
|
||||
test: "timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1"
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
electric:
|
||||
image: electricsql/electric
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user