26 lines
495 B
YAML
26 lines
495 B
YAML
---
|
|
version: "3.4"
|
|
|
|
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
user: "$UID:$GID"
|
|
ports:
|
|
- "8096:8096/tcp"
|
|
restart: always
|
|
volumes:
|
|
- "library:/media"
|
|
- "cache:/cache"
|
|
- "config:/config"
|
|
|
|
volumes:
|
|
library:
|
|
driver: local
|
|
driver_opts:
|
|
type: cifs
|
|
device: "{{ jellyfin.cifs.address }}"
|
|
o: "username={{ jellyfin.cifs.username }},password={{ jellyfin.cifs.password }},vers=3.0,uid=$UID,gid=$GID"
|
|
cache:
|
|
config:
|
|
...
|