foodotfiles/docker/jellyfin/docker-compose.yaml

38 lines
1.2 KiB
YAML
Raw Normal View History

2020-02-13 21:57:30 +00:00
version: "3"
services:
jellyfin:
image: jellyfin/jellyfin
2020-02-01 11:11:29 +00:00
container_name: jellyfin
2020-02-09 22:31:05 +00:00
environment:
- TZ=Europe/Helsinki
2020-02-13 22:42:37 +00:00
user: "1000:985"
2020-02-13 19:24:50 +00:00
ports:
2020-02-13 21:57:30 +00:00
- "8096:8096"
2020-02-13 19:24:50 +00:00
networks:
- proxy
2020-07-11 11:24:47 +00:00
restart: unless-stopped
volumes:
- /docker/jellyfin/config:/config
- /docker/jellyfin/cache:/cache
- /mnt/Storage/Media:/media
2020-02-04 15:23:04 +00:00
- /etc/localtime:/etc/localtime:ro
2020-02-13 19:24:50 +00:00
labels:
2020-02-13 21:57:30 +00:00
- "traefik.enable=true"
2020-02-13 19:24:50 +00:00
2020-02-13 21:57:30 +00:00
- "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"
2020-02-13 19:24:50 +00:00
2020-02-13 21:57:30 +00:00
- "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"
2020-02-13 19:24:50 +00:00
networks:
proxy:
external: true