Updated docker-compose to use environmental variables instead
CI / test (push) Successful in 56s

This commit is contained in:
IxianPixel committed 2026-11-06 15:25:41 +00:00
1 parent 577715bb40
commit 35a26a285d
3 files changed
+56 -13

No files matched your search

+21 -4
View File
@@ -14,12 +14,29 @@ services:
ports:
- "8097:8097"
volumes:
- ./jellymove.toml:/config/jellymove.toml:ro
- ./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:
# Secrets can come from the environment instead of the file:
# JELLYMOVE_JELLYFIN__API_KEY: ...
# JELLYMOVE_PEER__TOKEN: ...
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"}]'