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