iac/docker/jellyfin/docker-compose.yml

91 lines
2.4 KiB
YAML
Raw Normal View History

2024-07-12 23:57:29 -04:00
---
services:
jellyfin:
image: ghcr.io/linuxserver/jellyfin@sha256:d94b82bb7f6d794fb8d281a373a63ed0e64996224a1ba09f3bbfb14700345943
2024-07-12 23:57:29 -04:00
container_name: jellyfin
devices:
- /dev/dri/renderD129:/dev/dri/renderD129
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
volumes:
- /home/mafyuh/jellyfin/config:/config
2024-12-03 01:44:42 -05:00
- nas:/Media
2024-07-12 23:57:29 -04:00
- /home/mafyuh/jellyfin/transcodes:/transcodes
- /home/mafyuh/jellyfin/cache:/nvmecache
- /home/mafyuh/jellyfin/metadata:/nvmemetadata
ports:
- 8096:8096
restart: unless-stopped
2024-12-03 01:44:42 -05:00
security_opt:
- apparmor:unconfined
2024-07-12 23:57:29 -04:00
makemkv:
image: jlesage/makemkv@sha256:60d9420d09eb9a3ce3f9ae386e9f7d970358e2aec3d138ea0f8a294928c645af
2024-07-12 23:57:29 -04:00
container_name: makemkv
ports:
- 5800:5800
environment:
- MAKEMKV_KEY=$MAKEMKV_KEY
2024-07-12 23:57:29 -04:00
volumes:
- /docker/appdata/makemkv:/config:rw
- /home/mafyuh/makemkv/storage:/storage:rw
2024-12-03 01:44:42 -05:00
- nas:/output:rw
2024-07-12 23:57:29 -04:00
devices:
- /dev/sr0:/dev/sr0
privileged: true
2024-12-03 01:44:42 -05:00
security_opt:
- apparmor:unconfined
2024-07-12 23:57:29 -04:00
syncthing:
image: ghcr.io/linuxserver/syncthing@sha256:83bcc3c4138401e10c138c33a49f4e1bd216bab48e4a801d4fd088ad5ac5f3a7
2024-07-12 23:57:29 -04:00
container_name: syncthing
hostname: JF
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /docker/appdata/syncthing/config:/config
- /docker/appdata/:/docker/appdata/
- /home/mafyuh/jellyfin/:/home/mafyuh/jellyfin/
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped
2024-09-15 19:47:12 -04:00
jellystat-db:
image: postgres:15.2
environment:
POSTGRES_DB: 'jfstat'
POSTGRES_USER: postgres
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
volumes:
- /docker/appdata/jellystat/postgres-data:/var/lib/postgresql/data
jellystat:
image: cyfershepard/jellystat:1.1.1
2024-09-15 19:47:12 -04:00
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: $JWT_SECRET
ports:
- "3000:3000"
volumes:
- /docker/appdata/jellystat/backup-data:/app/backend/backup-data
depends_on:
- jellystat-db
restart: unless-stopped
2024-12-03 01:44:42 -05:00
volumes:
nas:
driver: local
driver_opts:
type: nfs
o: addr=nas.lan,vers=4,rw
device: ":/mnt/thePool/thePoolShare/Media"