fix remaining healthchecks
This commit is contained in:
@@ -81,9 +81,3 @@ services:
|
||||
depends_on:
|
||||
- authentik-postgres
|
||||
- authentik-redis
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "ps aux | grep '[c]elery' || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
@@ -11,11 +11,6 @@ services:
|
||||
environment:
|
||||
USER_CREATION: true
|
||||
DISABLE_PASSWORD_AUTH: false
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:8090"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
beszel-agent:
|
||||
image: henrygd/beszel-agent:0.12.6
|
||||
@@ -31,8 +26,3 @@ services:
|
||||
HUB_URL: http://localhost:8090
|
||||
TOKEN: ${BESZEL_TOKEN:?}
|
||||
KEY: ${BESZEL_KEY:?}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pidof beszel-agent || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
@@ -26,14 +26,7 @@ services:
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--spider",
|
||||
"http://localhost:2019/metrics",
|
||||
]
|
||||
test: ["CMD-SHELL", "ps aux | grep 'caddy' || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
services:
|
||||
dns-ad-blocker:
|
||||
image: oznu/dns-ad-blocker:latest
|
||||
container_name: dns-ad-blocker
|
||||
environment:
|
||||
- AUTO_UPDATE=1
|
||||
@@ -9,7 +10,6 @@ services:
|
||||
- DNSCRYPT_RESOLVER_ADDR=45.76.35.212
|
||||
- DNSCRYPT_PROVIDER_KEY=4C84:FB8C:0511:5DFA:5F97:C5ED:0329:1370:C78A:BCD6:4E15:DD53:AB08:DE72:FB84:4ACA
|
||||
- WHITELIST=api.segment.io,www.googleapis.com,analytics.google.com
|
||||
image: oznu/dns-ad-blocker:latest
|
||||
ports:
|
||||
- 192.168.2.201:53:53/udp
|
||||
restart: unless-stopped
|
||||
@@ -19,7 +19,7 @@ services:
|
||||
- /opt/dns-ad-blocker/var/log:/var/log
|
||||
- /opt/dns-ad-blocker/dnsmasq.hosts:/etc/dnsmasq.hosts
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||
test: ["CMD-SHELL", "nc -z -u localhost 53 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -10,7 +10,10 @@ services:
|
||||
- /media/scratch/droppy:/files
|
||||
healthcheck:
|
||||
test:
|
||||
["CMD", "wget", "--no-verbose", "--spider", "http://localhost:8989/"]
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"wget --no-verbose --spider http://127.0.0.1:8989/ || exit 1",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
fluentbit:
|
||||
image: fluent/fluent-bit:4.1.1-amd64
|
||||
image: fluent/fluent-bit:4.2.2-amd64
|
||||
container_name: fluentbit
|
||||
restart: unless-stopped
|
||||
command: fluent-bit --config /fluent-bit.yaml
|
||||
@@ -21,15 +21,3 @@ services:
|
||||
- DATABASE_NAME=${FLUENTBIT_DATABASE_NAME}
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--spider",
|
||||
"http://localhost:2020/api/v1/health",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
- /mnt/yotta/krypton/Shows:/host/srv/shows
|
||||
- /mnt/yotta/neon/Music/Albums:/host/srv/music
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8096/health"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8097/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -13,7 +13,11 @@ services:
|
||||
- "sonarr:${HOST_IP}"
|
||||
- "radarr:${HOST_IP}"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5055/status"]
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"wget --no-verbose --spider http://localhost:5055/status || exit 1",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -3,6 +3,7 @@ services:
|
||||
image: bluenviron/mediamtx:1.14.0-ffmpeg
|
||||
container_name: mediamtx
|
||||
environment:
|
||||
MTX_API: yes
|
||||
MTX_RTSPTRANSPORTS: tcp
|
||||
MTX_WEBRTCADDITIONALHOSTS: :${HOST_IP}
|
||||
ports:
|
||||
@@ -19,7 +20,11 @@ services:
|
||||
- /mnt/yotta/radon/mediamtx:/recordings
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9997/v3/paths/list"]
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"wget -q -O - http://localhost:9997/v3/paths/list || exit 1",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -13,8 +13,7 @@ services:
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
healthcheck:
|
||||
test:
|
||||
["CMD-SHELL", "mosquitto_sub -t '$SYS/#' -C 1 -i healthcheck || exit 1"]
|
||||
test: ["CMD-SHELL", "nc -z -w 5 localhost 1883 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -56,11 +56,8 @@ services:
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--spider",
|
||||
"http://localhost:2342/api/v1/status",
|
||||
"CMD-SHELL",
|
||||
"wget -qO- http://localhost:2342/api/v1/status | grep operational || exit 1",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
- /opt/qbittorrent:/config
|
||||
- /media/scratch/qbittorrent:/downloads/qbittorrent
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9092/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
cap_drop:
|
||||
- all
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:4000"]
|
||||
test: ["CMD-SHELL", "nc -z -w 1 localhost 4000 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
@@ -14,3 +14,5 @@ services:
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
|
||||
Reference in New Issue
Block a user