diff --git a/fighter/config/jellyfin/.env b/fighter/config/jellyfin/.env new file mode 100644 index 0000000..d88d169 --- /dev/null +++ b/fighter/config/jellyfin/.env @@ -0,0 +1 @@ +DOCKER_DATA=/mnt/nas/media \ No newline at end of file diff --git a/fighter/config/jellyfin/docker-compose.yml b/fighter/config/jellyfin/docker-compose.yml new file mode 100644 index 0000000..f62b6d9 --- /dev/null +++ b/fighter/config/jellyfin/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.9' +services: + jellyfin: + image: lscr.io/linuxserver/jellyfin:latest + container_name: jellyfin_jellyfin + restart: "no" + networks: + - web + ports: + - 8096:8096 + - 8920:8920 + env_file: + - path: ./jellyfin.env + required: true + volumes: + - "${MEDIA_DIR}/Video/Movies:/data/movies" + - "${MEDIA_DIR}/Video/Shows:/data/tvshows" + - "${DOCKER_DATA}/jellyfin:/config" + labels: + - traefik.http.routers.jellyfin.rule=Host(`plex.jafner.net`) + - traefik.http.routers.jellyfin.tls.certresolver=lets-encrypt + +networks: + web: + external: true diff --git a/fighter/config/jellyfin/jellyfin.env b/fighter/config/jellyfin/jellyfin.env new file mode 100644 index 0000000..8cd8e8f --- /dev/null +++ b/fighter/config/jellyfin/jellyfin.env @@ -0,0 +1,3 @@ +PUID=1002 +PGID=1002 +TZ=America/Los_Angeles