Enables an nginx-proxy-manager proxy host (jellyfin:8096) so it can be reached by hostname on the LAN instead of IP:port. No public VIRTUAL_HOST/LETSENCRYPT_HOST since this stays internal-only for now. Claude-Session: https://claude.ai/code/session_01HZQK6jHmdTpFjFZM8FUnqA
39 lines
792 B
YAML
39 lines
792 B
YAML
volumes:
|
|
nas_media:
|
|
external: true
|
|
name: nas_media
|
|
services:
|
|
jellyfin:
|
|
container_name: jellyfin
|
|
image: jellyfin/jellyfin
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8096:8096/tcp
|
|
- 8920:8920/tcp
|
|
- 7359:7359/udp
|
|
environment:
|
|
- TZ=America/New_York
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
|
|
volumes:
|
|
- /srv/jellyfin/config:/config
|
|
- /srv/jellyfin/cache:/cache
|
|
- nas_media:/data
|
|
networks:
|
|
- default
|
|
- npm-network
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
|
|
networks:
|
|
default:
|
|
npm-network:
|
|
external: true
|