37 lines
963 B
YAML
37 lines
963 B
YAML
version: "3.9"
|
|
services:
|
|
rffmpeg:
|
|
image: ghcr.io/aleksasiriski/jellyfin-rffmpeg-node:latest
|
|
environment:
|
|
- SSH_USERS=root:0:0
|
|
- SSH_ENABLE_ROOT=true
|
|
ports:
|
|
- "22:22"
|
|
volumes:
|
|
- /root/.ssh/authorized_keys:/etc/authorized_keys/root:Z
|
|
- jellyfin-conf:/config
|
|
- jellyfin-cache:/cache
|
|
- media:/var/storage/media:ro
|
|
# devices:
|
|
# - /dev/dri:/dev/dri
|
|
restart: always
|
|
volumes:
|
|
jellyfin-conf:
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
device: :/var/jellyfin/config
|
|
o: addr=$NFS_LAN_IP,rw,nfsvers=4,sync
|
|
jellyfin-cache:
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
device: :/var/jellyfin/cache
|
|
o: addr=$NFS_LAN_IP,rw,nfsvers=4,sync
|
|
media:
|
|
driver: local
|
|
driver_opts:
|
|
type: cifs
|
|
device: //$MEDIA_USERNAME.your-storagebox.de/$MEDIA_USERNAME
|
|
o: addr=$MEDIA_USERNAME.your-storagebox.de,username=$MEDIA_USERNAME,password=$MEDIA_PASSWORD
|