Compose-Library/jellyfin.compose.yaml.txt
2025-01-25 18:01:48 +01:00

15 lines
No EOL
477 B
Text
Executable file

services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin-${USER_ID}-${IP}-${PORT}-${DOMAIN}
user: ${USER_ID}:${USER_ID}
ports:
- ${IP}:${PORT}:8096
volumes:
- ${DATA_DIR}/config:/config
- ${DATA_DIR}/cache:/cache
- ${DATA_DIR}/media:/media
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=${SCHEME}://${DOMAIN}