5528769211
Made the host-stacks bind-mount path configurable via DOCKGE_HOST_STACKS_ROOT (default /opt/docker, unchanged for the existing five hosts). Override on corviduo-dev to /home/vh/docker because that host's /opt/ is owned by deploy:deploy (Worldtree team) and vh lacks passwordless sudo for the fleet-standard path — same reasoning as the beszel + dozzle agent placement earlier today. Deployed to corviduo-dev. Reachable at http://10.250.50.152:5001 (first probe 200 — Docker's port-mapping route through iptables worked without firewall changes, unlike beszel's network_mode: host). Scoped to PFI-managed stacks only (/home/vh/docker/compose/) — does NOT see /opt/worldtree*/ deployments. Keeps the management boundary clean: dockge can restart/recreate PFI's beszel+dozzle+itself but not the Worldtree-team-owned containers.
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Dockge per-host tunables.
|
|
#
|
|
# Copy to .env on each host. Most defaults are fine; the HOST_LABEL and
|
|
# HOST_IP are what the homepage card shows, so they must be set per-host.
|
|
|
|
# Image pin (blank = latest)
|
|
DOCKGE_VERSION=latest
|
|
|
|
# Port on the host. Default matches the upstream docs.
|
|
DOCKGE_PORT=5001
|
|
|
|
# Human-readable host name for the homepage card, e.g.
|
|
# ana-docker, nh3-docker, esh-docker-vm, vm-esh-nas, ana-ml2
|
|
DOCKGE_HOST_LABEL=
|
|
|
|
# IP (or hostname) the browser uses to reach this Dockge. Used in
|
|
# homepage.href — must be reachable from wherever you view homepage.
|
|
# ana-docker → 10.250.50.70
|
|
# ana-ml2 → 10.250.50.54
|
|
# nh3-docker → 10.100.50.40
|
|
# esh-docker-vm → 10.0.50.45
|
|
# vm-esh-nas → 10.0.50.154
|
|
# corviduo-dev → 10.250.50.152
|
|
DOCKGE_HOST_IP=
|
|
|
|
# Host directory containing the per-stack compose dirs. Default
|
|
# /opt/docker matches the fleet convention. Override only for hosts
|
|
# where /opt/docker isn't writable / appropriate.
|
|
# corviduo-dev → /home/vh/docker
|
|
# Trailing slash NOT required. Dockge sees the .../compose/ subdir
|
|
# as its stacks root (DOCKGE_STACKS_DIR derives from this).
|
|
DOCKGE_HOST_STACKS_ROOT=/opt/docker
|