2022-08-27 11:31:42 +02:00
|
|
|
version: "3.5"
|
|
|
|
services:
|
|
|
|
jellyfin:
|
|
|
|
image: jellyfin/jellyfin
|
|
|
|
container_name: jellyfin
|
|
|
|
volumes:
|
|
|
|
- jellyfin_data:/config
|
|
|
|
- jellyfin_cache:/cache
|
|
|
|
- /mnt:/media
|
2022-08-27 21:20:24 +02:00
|
|
|
networks:
|
|
|
|
traefik_net:
|
2022-08-28 11:21:47 +02:00
|
|
|
ports:
|
2022-08-28 17:46:58 +02:00
|
|
|
- 8096:8096
|
2022-08-27 21:20:24 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.jellyfin.entrypoints=web
|
|
|
|
- traefik.http.routers.jellyfin.rule=Host(`jellyfin.franz.local`)
|
|
|
|
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
|
|
|
|
restart: always
|
2022-08-27 11:31:42 +02:00
|
|
|
|
2022-08-27 21:20:24 +02:00
|
|
|
networks:
|
|
|
|
traefik_net:
|
|
|
|
name: traefik-net
|
|
|
|
external: true
|
2022-08-27 11:31:42 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
jellyfin_data:
|
|
|
|
name: jellyfin_data
|
|
|
|
jellyfin_cache:
|
2022-08-27 21:20:24 +02:00
|
|
|
name: jellyfin_cache
|