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
|
PARSERS: crowdsecurity/whitelists
|
||||||
ENROLL_TAGS: docker
|
ENROLL_TAGS: docker
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
interval: 10s
|
||||||
|
retries: 15
|
||||||
|
timeout: 10s
|
||||||
test: ["CMD", "cscli", "capi", "status"]
|
test: ["CMD", "cscli", "capi", "status"]
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=false" # Disable traefik for crowdsec
|
- "traefik.enable=false" # Disable traefik for crowdsec
|
||||||
|
|
|
@ -48,6 +48,10 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
pangolin:
|
pangolin:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
{{if .DoCrowdsecInstall}}
|
||||||
|
crowdsec:
|
||||||
|
condition: service_healthy
|
||||||
|
{{end}}
|
||||||
command:
|
command:
|
||||||
- --configFile=/etc/traefik/traefik_config.yml
|
- --configFile=/etc/traefik/traefik_config.yml
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue