2022-02-26 11:25:54 +00:00
|
|
|
[services]
|
|
|
|
|
|
|
|
[services.jellyfin]
|
2022-05-17 12:20:01 +00:00
|
|
|
image = "jellyfin/jellyfin:10.8.0-beta3"
|
2022-02-26 11:25:54 +00:00
|
|
|
container_name = "jellyfin"
|
|
|
|
environment = ["TZ=Europe/Helsinki"]
|
|
|
|
ports = ["8096:8096"]
|
|
|
|
networks = ["proxy", "authentik"]
|
|
|
|
restart = "unless-stopped"
|
|
|
|
volumes = [
|
|
|
|
"/docker/jellyfin/config:/config",
|
|
|
|
"/docker/jellyfin/cache:/cache",
|
|
|
|
"/mnt/Storage/Media:/media",
|
|
|
|
"/etc/localtime:/etc/localtime:ro",
|
|
|
|
]
|
|
|
|
devices = [
|
|
|
|
"/dev/dri/renderD128:/dev/dri/renderD128",
|
|
|
|
"/dev/dri/card0:/dev/dri/card0",
|
|
|
|
]
|
|
|
|
labels = [
|
|
|
|
"traefik.enable=true",
|
2022-03-24 08:26:23 +00:00
|
|
|
"traefik.docker.network=proxy",
|
2022-02-26 11:25:54 +00:00
|
|
|
"traefik.http.routers.jellyfin-redirect.entrypoints=http",
|
|
|
|
"traefik.http.routers.jellyfin-redirect.rule=Host(`jellyfin.korhonen.cc`)",
|
|
|
|
"traefik.http.routers.jellyfin-redirect.middlewares=http2https@file",
|
|
|
|
"traefik.http.routers.jellyfin.entrypoints=https",
|
2022-03-24 19:03:57 +00:00
|
|
|
"traefik.http.routers.jellyfin.middlewares=secHeaders@file,compress@file",
|
2022-02-26 11:25:54 +00:00
|
|
|
"traefik.http.routers.jellyfin.rule=Host(`jellyfin.korhonen.cc`)",
|
|
|
|
"traefik.http.routers.jellyfin.service=jellyfin",
|
|
|
|
"traefik.http.services.jellyfin.loadbalancer.server.port=8096",
|
|
|
|
]
|
|
|
|
|
|
|
|
[networks]
|
|
|
|
|
|
|
|
[networks.proxy]
|
|
|
|
external = true
|
|
|
|
|
|
|
|
[networks.authentik]
|
|
|
|
external = true
|