Initial push

This commit is contained in:
2026-08-11 09:00:01 +02:00
commit fe8b354adc
54 changed files with 12640 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# docker-migrate, running on the SOURCE host.
#
# docker compose up -d
# docker compose logs docker-migrate # 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:
docker-migrate:
build:
context: .
args:
VERSION: ${VERSION:-dev}
image: docker-migrate:latest
container_name: docker-migrate
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.
# DOCKER_MIGRATE_TOKEN: change-me
TZ: ${TZ:-UTC}
command:
- serve
- --addr=0.0.0.0:8080
- --token=auto
volumes:
migrate-data: