xWork/docker-compose.yml
2026-01-07 10:23:26 +08:00

17 lines
546 B
YAML

version: '3.8'
services:
gitlab-migration:
build: .
ports:
- "5555:5000"
volumes:
# 挂载数据目录以持久化状态文件 (id maps) 和日志
- ./migration_data:/app/migration_data
- ./migration.log:/app/migration.log
environment:
# 这里可以预设环境变量,也可以在 UI 中修改
- OLD_GITLAB_URL=http://172.25.254.5:10088
- NEW_GITLAB_URL=http://172.23.24.8:32272
# Token 建议在 UI 中输入,或者通过 .env 文件加载,不建议直接写在 yaml 中