Skip to content

Commit 28f3c79

Browse files
committed
ops traefik placeholder: add healthcheck
1 parent 7147469 commit 28f3c79

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/simcore/docker-compose.yml.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,12 @@ services:
871871
- traefik.http.services.${SWARM_STACK_NAME}_simcore_api_fallback.loadbalancer.healthcheck.path=/some/invalid/path/to/generate/a/503
872872
- traefik.http.services.${SWARM_STACK_NAME}_simcore_api_fallback.loadbalancer.healthcheck.interval=10s
873873
- traefik.http.services.${SWARM_STACK_NAME}_simcore_api_fallback.loadbalancer.healthcheck.timeout=1ms
874+
healthcheck:
875+
test: command -v sleep
876+
interval: 10s
877+
timeout: 1s
878+
start_period: 1s
879+
retries: 1
874880

875881
traefik-configuration-placeholder: # simcore traefik with `io.simcore.zone=${TRAEFIK_SIMCORE_ZONE}` label
876882
image: busybox:1.35.0

0 commit comments

Comments
 (0)