2022-12-24 03:38:43 +02:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
services:
|
|
|
|
jellyfin:
|
|
|
|
image: jellyfin/jellyfin
|
|
|
|
container_name: jellyfin
|
2023-07-17 12:47:45 +03:00
|
|
|
#user: 1000:1000
|
2022-12-24 03:38:43 +02:00
|
|
|
network_mode: 'host'
|
|
|
|
volumes:
|
2023-07-17 12:47:45 +03:00
|
|
|
- /mnt/data/storage/jellyfin/config:/config
|
|
|
|
- /mnt/data/storage/jellyfin/cache:/cache
|
2023-11-22 20:11:54 +02:00
|
|
|
- /mnt/data/media:/media
|
2024-03-20 12:00:22 +02:00
|
|
|
- /mnt/data/downloads/complete:/downloads
|
2022-12-24 03:38:43 +02:00
|
|
|
|
|
|
|
#ports:
|
|
|
|
# - "8096:8096/tcp"
|
|
|
|
# - "8920:8920/tcp"
|
|
|
|
# - "1900:1900/udp"
|
|
|
|
# - "7359:7359/udp"
|
|
|
|
restart: 'unless-stopped'
|
|
|
|
# Optional - alternative address used for autodiscovery
|
|
|
|
#environment:
|
|
|
|
# - JELLYFIN_PublishedServerUrl=http://example.com
|
|
|
|
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|