mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
version: '3'
|
|
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin
|
|
container_name: jellyfin
|
|
environment:
|
|
- TZ=Europe/Helsinki
|
|
user: 1001:985
|
|
ports:
|
|
- '8096:8096'
|
|
networks:
|
|
- proxy
|
|
restart: always
|
|
volumes:
|
|
- /docker/jellyfin/config:/config
|
|
- /docker/jellyfin/cache:/cache
|
|
- /mnt/Storage/Media:/media
|
|
- /etc/localtime:/etc/localtime:ro
|
|
labels:
|
|
- 'traefik.enable=true'
|
|
|
|
- 'traefik.http.routers.jellyfin-redirect.entrypoints=http'
|
|
- 'traefik.http.routers.jellyfin-redirect.rule=Host(`jellyfin.reekynet.com`)'
|
|
- 'traefik.http.middlewares.http2https.redirectscheme.scheme=https'
|
|
- 'traefik.http.routers.jellyfin-redirect.middlewares=http2https'
|
|
|
|
- 'traefik.http.routers.jellyfin.entrypoints=https'
|
|
- 'traefik.http.routers.jellyfin.rule=Host(`jellyfin.reekynet.com`)'
|
|
- 'traefik.http.routers.jellyfin.tls=true'
|
|
- 'traefik.http.routers.jellyfin.tls.certresolver=http'
|
|
- 'traefik.http.routers.jellyfin.service=jellyfin'
|
|
- 'traefik.docker.network=proxy'
|
|
- 'traefik.http.services.jellyfin.loadbalancer.server.port=8096'
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|