fix: add proxy-env inheritance and healthcheck proxy bypass to uptime kuma

This commit is contained in:
Yury Kossakovsky
2026-03-13 18:09:52 -06:00
parent 5859fc9d25
commit a6a3c2cb05

View File

@@ -1286,11 +1286,12 @@ services:
restart: unless-stopped
logging: *default-logging
environment:
<<: *proxy-env
UPTIME_KUMA_WS_ORIGIN_CHECK: bypass
volumes:
- uptime_kuma_data:/app/data
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:3001/ || exit 1"]
test: ["CMD-SHELL", "http_proxy= https_proxy= HTTP_PROXY= HTTPS_PROXY= wget -qO- http://localhost:3001/ || exit 1"]
interval: 30s
timeout: 10s
retries: 5