2024-01-15 23:50:16 +00:00
|
|
|
---
|
|
|
|
services:
|
|
|
|
migrate:
|
2024-03-06 20:45:04 +00:00
|
|
|
image: "servercontainers/rsync"
|
2024-01-15 23:50:16 +00:00
|
|
|
entrypoint: ""
|
|
|
|
working_dir: /migrate
|
|
|
|
command: 'bash -c "exit 1"'
|
|
|
|
restart: never
|
|
|
|
volumes:
|
|
|
|
################################
|
|
|
|
# Storage volume
|
|
|
|
################################
|
|
|
|
# OLD
|
|
|
|
- "app-storage:/migrate/app-storage/old"
|
|
|
|
# NEW
|
2024-01-17 17:51:37 +00:00
|
|
|
- "${DOCKER_APP_HOST_STORAGE_PATH}:/migrate/app-storage/new"
|
2024-01-15 23:50:16 +00:00
|
|
|
|
|
|
|
################################
|
|
|
|
# MySQL/DB volume
|
|
|
|
################################
|
|
|
|
# OLD
|
|
|
|
- "db-data:/migrate/db-data/old"
|
|
|
|
# NEW
|
2024-01-17 17:51:37 +00:00
|
|
|
- "${DOCKER_DB_HOST_DATA_PATH}:/migrate/db-data/new"
|
2024-01-15 23:50:16 +00:00
|
|
|
|
|
|
|
################################
|
|
|
|
# Redis volume
|
|
|
|
################################
|
|
|
|
# OLD
|
|
|
|
- "redis-data:/migrate/redis-data/old"
|
|
|
|
# NEW
|
2024-01-17 17:51:37 +00:00
|
|
|
- "${DOCKER_REDIS_HOST_DATA_PATH}:/migrate/redis-data/new"
|
2024-01-15 23:50:16 +00:00
|
|
|
|
|
|
|
# Volumes from the old [docker-compose.yml] file
|
|
|
|
# https://github.com/pixelfed/pixelfed/blob/b1ff44ca2f75c088a11576fb03b5bad2fbed4d5c/docker-compose.yml#L72-L76
|
|
|
|
volumes:
|
|
|
|
db-data:
|
|
|
|
redis-data:
|
|
|
|
app-storage:
|
|
|
|
app-bootstrap:
|