mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-02 16:19:08 +00:00
Relaxed health check for crowdsec and dependance to traefik
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user