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