17 lines
426 B
YAML
17 lines
426 B
YAML
|
version: "3.5"
|
||
|
services:
|
||
|
jellyfin:
|
||
|
image: jellyfin/jellyfin
|
||
|
container_name: jellyfin
|
||
|
user: uid:gid
|
||
|
network_mode: "host"
|
||
|
volumes:
|
||
|
- ./config:/config
|
||
|
- ./cache:/cache
|
||
|
- /path/to/media:/media
|
||
|
- /path/to/media2:/media2:ro
|
||
|
restart: "unless-stopped"
|
||
|
# Optional - alternative address used for autodiscovery
|
||
|
environment:
|
||
|
- JELLYFIN_PublishedServerUrl=http://example.com
|