mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 12:36:03 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
user: "1000:1000"
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
ports:
|
||||
- "8096"
|
||||
volumes:
|
||||
- config:/etc/jellyfin
|
||||
- data:/var/lib/jellyfin
|
||||
- cache:/cache
|
||||
- log:/log
|
||||
- nfs_films:/films
|
||||
- nfs_series:/series
|
||||
restart: 'unless-stopped'
|
||||
# Alternative address used for autodiscovery
|
||||
environment:
|
||||
- JELLYFIN_PublishedServerUrl=https://flix.vhaudiquet.fr
|
||||
- JELLYFIN_CONFIG_DIR=/etc/jellyfin
|
||||
- JELLYFIN_DATA_DIR=/var/lib/jellyfin
|
||||
- JELLYFIN_LOG_DIR=/log
|
||||
- JELLYFIN_CACHE_DIR=/cache
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.jellyfin.rule=Host(`flix.vhaudiquet.fr`)"
|
||||
|
||||
volumes:
|
||||
nfs_films:
|
||||
driver_opts:
|
||||
type: 'nfs'
|
||||
o: 'addr=truenas.local,ro'
|
||||
device: ':/mnt/media/films'
|
||||
nfs_series:
|
||||
driver_opts:
|
||||
type: 'nfs'
|
||||
o: 'addr=truenas.local,ro'
|
||||
device: ':/mnt/media/series'
|
||||
cache:
|
||||
log:
|
||||
config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: 'none'
|
||||
o: 'bind'
|
||||
device: '/app/jellyfin/config'
|
||||
data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: 'none'
|
||||
o: 'bind'
|
||||
device: '/app/jellyfin/data'
|
||||
networks:
|
||||
proxy:
|
||||
name: proxy
|
||||
external: true
|
||||
Reference in New Issue
Block a user