nix-config/nixos/_mixins/services/jellyfin.compose.yaml
2024-05-23 15:02:20 -04:00

18 lines
No EOL
509 B
YAML

version: '3.5'
services:
jellyfin:
image: docker.io/jellyfin/jellyfin
container_name: jellyfin
user: root:root
# network_mode: 'host'
ports:
- 8096:8096
volumes:
- /opt/jellyfin/config:/config
- /opt/jellyfin/cache:/cache
- /storage/hdds/plex:/media
# - /path/to/media2:/media2:ro
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=http://blck0.tail9c8a7.ts.net