Relaxed health check for crowdsec and dependance to traefik

This commit is contained in:
Taylan 2025-04-21 11:29:56 +02:00
parent 787ec50a9c
commit c837899d82
2 changed files with 7 additions and 0 deletions

View file

@ -9,6 +9,9 @@ services:
PARSERS: crowdsecurity/whitelists
ENROLL_TAGS: docker
healthcheck:
interval: 10s
retries: 15
timeout: 10s
test: ["CMD", "cscli", "capi", "status"]
labels:
- "traefik.enable=false" # Disable traefik for crowdsec

View file

@ -48,6 +48,10 @@ services:
depends_on:
pangolin:
condition: service_healthy
{{if .DoCrowdsecInstall}}
crowdsec:
condition: service_healthy
{{end}}
command:
- --configFile=/etc/traefik/traefik_config.yml
volumes: