Files
DockMV/docker-compose.yml
kawaandClaude Haiku 4.5 dccb98ce18 Use DOCKMV_TOKEN environment variable for authentication token
- Remove --token=auto flag from docker-compose
- Default token flag to $DOCKMV_TOKEN environment variable instead of empty string
- Update help text to document environment variable default

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-11 15:39:44 +02:00

33 lines
1.0 KiB
YAML

# dockmv, running on the SOURCE host.
#
# docker compose up -d
# docker compose logs dockmv # the URL and access token are printed here
#
# The container needs the Docker socket to read containers and stream their
# data. That is equivalent to root on this host, so the UI is protected by a
# generated token and should not be published to an untrusted network.
services:
dockmv:
image: git.azuze.fr/kawa/dockmv:${VERSION:-latest}
container_name: dockmv
restart: unless-stopped
ports:
# Bind to loopback only. Use an SSH tunnel to reach it from elsewhere:
# ssh -L 8080:127.0.0.1:8080 you@this-host
- "127.0.0.1:8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Connections, trusted SSH host keys and built packages.
- migrate-data:/data
environment:
# Set a fixed token to keep the same URL across restarts.
# DOCKMV_TOKEN: change-me
TZ: ${TZ:-UTC}
command:
- serve
- --addr=0.0.0.0:8080
volumes:
migrate-data: