Add healthcheck to crowdsec and komodo
This commit is contained in:
@@ -15,6 +15,12 @@ services:
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/crowdsec-config:/etc/crowdsec/
|
||||
- ${APPDATA_PATH}/caddy-crowdsec/caddy-logs:/var/log/caddy:ro
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --spider --quiet --tries=1 --timeout=5 http://localhost:8080/health > /dev/null 2>&1 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
caddy:
|
||||
image: ryuupendragon/caddy-crowdsec:2.10.0
|
||||
|
||||
Reference in New Issue
Block a user