mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-13 05:40:38 +01:00
Relaxed health check for crowdsec and dependance to traefik
This commit is contained in:
parent
787ec50a9c
commit
c837899d82
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue