compose: add dark3proxy healthcheck for router stack
Configuration validation / lint (push) Has been cancelled
Configuration validation / smoke (push) Has been cancelled

This commit is contained in:
auto-ci
2026-03-09 17:25:57 -04:00
parent 77a376c3e0
commit 4bbc8284d0
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -18,6 +18,12 @@ services:
- "./3proxy/second-instanse.cfg:/etc/3proxy/second-instanse.cfg"
- "./3proxy/yggdrasil.conf:/etc/yggdrasil/yggdrasil.conf"
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-lc", "pgrep -f 'yggdrasil -useconffile' >/dev/null && pgrep -f '3proxy /etc/3proxy/second-instanse.cfg' >/dev/null && pgrep -f '3proxy /etc/3proxy/first-instanse.cfg' >/dev/null && pgrep -f 'python3 /usr/local/bin/socks_router.py' >/dev/null"]
interval: 30s
timeout: 10s
retries: 3
start_period: 45s
sysctls:
- "net.ipv6.conf.all.disable_ipv6=0"
ports:
+6
View File
@@ -21,6 +21,12 @@ services:
cpus: "1.0"
mem_reservation: 64m
mem_limit: 256m
healthcheck:
test: ["CMD", "bash", "-lc", "pgrep -f 'yggdrasil -useconffile' >/dev/null && pgrep -f '3proxy /etc/3proxy/second-instanse.cfg' >/dev/null && pgrep -f '3proxy /etc/3proxy/first-instanse.cfg' >/dev/null && pgrep -f 'python3 /usr/local/bin/socks_router.py' >/dev/null"]
interval: 30s
timeout: 10s
retries: 3
start_period: 45s
sysctls:
- "net.ipv6.conf.all.disable_ipv6=0"
ports: