Route GitLab stats and health checks through a configurable proxy

This commit is contained in:
2026-09-07 09:51:47 +02:00
parent dfe246b7ca
commit e41e2f928f
5 changed files with 176 additions and 39 deletions
+9
View File
@@ -22,6 +22,11 @@ services:
# Uncomment and fill in to enable private git stats.
# - GITLAB_TOKEN=
# - NETBIRD_TOKEN=
# Forward proxy for GitLab API access + health checks (api/proxy.js).
# Set the URL in .env — change it there when the proxy stack moves
# (unset = direct connection). With the proxy on the docker host:
# GITLAB_PROXY=http://host.docker.internal:8118
- GITLAB_PROXY=${GITLAB_PROXY:-}
# GPU stats upstream; defaults to the gpu-stats service below.
# To run gpu_stats.py on the host instead, use:
# http://host.docker.internal:9101/stats
@@ -29,6 +34,10 @@ services:
# - GPU_STATS_URL=http://gpu-stats:9101/stats
# Ollama instance for the loaded-model stats in the GPU widget.
# - OLLAMA_URL=http://100.103.83.12:11435
extra_hosts:
# Alias for the docker host, so container services can reach host
# processes (e.g. the proxy behind GITLAB_PROXY) by a stable name.
- "host.docker.internal:host-gateway"
volumes:
# Persists the Outlook OAuth refresh token across container updates.
- outlook-tokens:/opt/dashboard/tokens