Add Harbor Gateway auto-detection for client routing
This commit is contained in:
@@ -14,6 +14,8 @@ services:
|
||||
DATA_DIR: /var/lib/vpn-proxy
|
||||
SING_BOX_CONFIG: /etc/sing-box/config.json
|
||||
SING_BOX_CACHE: /var/lib/sing-box/cache.db
|
||||
HARBOR_HOST_NETWORK_STATE: /run/harbor-host/network.json
|
||||
HARBOR_GATEWAY_CONTROL_PORT: ${HARBOR_GATEWAY_CONTROL_PORT:-3456}
|
||||
LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||
HTTP_PROXY: ""
|
||||
HTTPS_PROXY: ""
|
||||
@@ -29,6 +31,7 @@ services:
|
||||
volumes:
|
||||
- vpn-proxy-client-data:/var/lib/vpn-proxy
|
||||
- sing-box-client-cache:/var/lib/sing-box
|
||||
- ./.runtime:/run/harbor-host:ro
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--noproxy", "*", "-fsS", "http://127.0.0.1:${PORT:-3456}/api/state"]
|
||||
|
||||
Reference in New Issue
Block a user