# dockge Per-host [Dockge](https://dockge.kuma.pet/) — a lightweight web UI for managing the host's docker compose stacks. Runs one instance on every Docker host in the fleet. Default stacks root is `/opt/docker/compose/` (fleet convention). Hosts where `/opt/docker/` isn't writable by the deploying user override `DOCKGE_HOST_STACKS_ROOT` in their `.env` — corviduo-dev sets it to `/home/vh/docker` (vh lacks passwordless sudo on the worldtree-team-managed host; see `servers/corviduo-dev/README.md`). ## Layout - `compose.yaml` — canonical, same file pushed to every host - `.env.example` — per-host tunables; `DOCKGE_HOST_LABEL` + `DOCKGE_HOST_IP` vary ## Homepage Labeled `homepage.group=Service Networking` so all five Dockge instances collapse into the toolchain group on the dashboard, each card pointing at its own host's web UI. ## Deploy ```bash cp stacks/dockge/compose.yaml stacks-mirror//dockge/ scripts/deploy-stack.sh dockge --compose ssh -t 'cd /opt/docker/compose/dockge && sudo docker compose up -d --force-recreate' ``` The `.env` with the correct `DOCKGE_HOST_LABEL` / `DOCKGE_HOST_IP` must exist on the host before the deploy — otherwise the homepage labels will render with empty substitutions. Initial seed per host: ```bash # ana-docker ssh -t ana-docker 'sudo tee /opt/docker/compose/dockge/.env > /dev/null < /dev/null < /dev/null < /dev/null < /dev/null </dockge/` before each deploy.