25 lines
907 B
YAML
25 lines
907 B
YAML
# One of these per server. Mount media at the SAME paths as your Jellyfin
|
|
# container so the paths Jellyfin reports are the paths jellymove sees.
|
|
services:
|
|
jellymove:
|
|
image: jellymove:latest
|
|
build: ..
|
|
container_name: jellymove
|
|
restart: unless-stopped
|
|
# Same UID:GID as Jellyfin so moved files keep the right ownership.
|
|
user: "1000:1000"
|
|
ports:
|
|
- "8097:8097"
|
|
volumes:
|
|
- ./jellymove.toml:/config/jellymove.toml:ro
|
|
- ./jellymove-data:/data
|
|
- /srv/media/movies:/media/movies # ← match your jellyfin service
|
|
- /srv/media/tv:/media/tv
|
|
environment:
|
|
# Secrets can come from the environment instead of the file:
|
|
# JELLYMOVE_JELLYFIN__API_KEY: ...
|
|
# JELLYMOVE_PEER__TOKEN: ...
|
|
JELLYMOVE_LOG: info
|
|
# Only needed for a post_move hook like `docker restart jellyswarrm`:
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|