Files
Jellymove/deploy/docker-compose.yml
2026-11-06 15:25:41 +00:00

43 lines
2.2 KiB
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:
# Published by the release workflow. Pin a version (e.g. :0.1.1) to
# upgrade on your own schedule, or use :latest and `docker compose pull`.
image: git.malgra.com/ixianpixel/jellymove:latest
# To build from source instead, replace `image:` with `build: ..`.
container_name: jellymove
restart: unless-stopped
# Same UID:GID as Jellyfin so moved files keep the right ownership.
# On Unraid that's usually "99:100".
user: "1000:1000"
ports:
- "8097:8097"
volumes:
- ./jellymove-data:/data # must be writable by `user:` above
- /srv/media/movies:/media/movies # ← match your jellyfin service
- /srv/media/tv:/media/tv
# Every setting in config.example.toml works here as JELLYMOVE_<KEY>, with
# "__" between a section and its key. A value made only of digits needs
# inner quotes ('"123456"'), or it's read as a number. To keep secrets out
# of this file, put them in a .env file next to it and write ${NAME} here.
environment:
JELLYMOVE_NODE_NAME: home
JELLYMOVE_DATA_DIR: /data # the jellymove-data volume above
JELLYMOVE_JELLYFIN__URL: http://jellyfin:8096
# Jellyfin → Dashboard → API Keys. Needs an admin key.
JELLYMOVE_JELLYFIN__API_KEY: replace-me
# The other agent. Both sides use the same token (openssl rand -hex 32).
JELLYMOVE_PEER__URL: https://cloud.example.com
JELLYMOVE_PEER__TOKEN: replace-me
# Protect the web UI unless the port is only reachable privately.
JELLYMOVE_UI__USERNAME: admin
JELLYMOVE_UI__PASSWORD: replace-me
JELLYMOVE_LOG: info
# Optional. Incoming cap in megabits per second (0 = unlimited):
# JELLYMOVE_TRANSFER__BANDWIDTH_LIMIT_MBPS: 200
# Optional. File items from the peer's "TV Shows" library into "Series":
# JELLYMOVE_INCOMING_LIBRARIES: '{"TV Shows"="Series"}'
# Optional. Only if jellymove sees media at different paths from Jellyfin:
# JELLYMOVE_PATH_MAP: '[{jellyfin="/media",local="/mnt/user/media"}]'