Files
dockwatch/examples/compose-agent.yml
T
jbergner 56170ccde9
release-tag / release-image (push) Failing after 1m15s
v9.3.1
2026-08-31 22:17:18 +02:00

22 lines
771 B
YAML

services:
dockwatch-agent:
image: dockwatch:local
restart: unless-stopped
ports: ["127.0.0.1:8080:8080"]
environment:
APP_MODE: agent
AGENT_TOKEN: "replace-with-a-random-token-at-least-24-characters"
HTTP_TIMEOUT_SECONDS: "10"
# Optional: set HOST_ROOT=/host and mount /:/host:ro for identity checks.
HOST_ROOT: ""
ALLOW_HOST_USER_MANAGEMENT: "false"
ALLOW_HOST_PERMISSION_MANAGEMENT: "false"
volumes:
- ./agent-data:/data
- ./agent-stacks:/stacks
- /var/run/docker.sock:/var/run/docker.sock
# For read-only host UID/GID + bind ownership checks:
# - /:/host:ro
# For explicit admin host-user creation only: use /:/host:rw and set
# ALLOW_HOST_USER_MANAGEMENT=true.