Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services:
- traefik:
- container_name: traefik
- image: traefik:latest
- depends_on:
- - authelia
- ports:
- - 80:80
- - 443:443
- networks:
- - proxy
- volumes:
- - /home/pi/traefik/:/etc/traefik/
- - /var/run/docker.sock:/var/run/docker.sock:ro
- environment:
- CF_DNS_API_TOKEN: <CF token>
- labels:
- # Traefik:
- traefik.http.routers.api.service: api@internal # Enable Traefik API.
- traefik.http.services.traefik-dashboard.loadbalancer.server.port: "8080"
- traefik.enable: true # Enable Traefik reverse proxy for the Traefik dashboard.
- # Watchtower:
- com.centurylinklabs.watchtower.enable: true
- # TRAEFIK PUBLIC
- traefik.http.routers.traefik-public.entrypoints: 'https'
- traefik.http.routers.traefik-public.rule: 'Host(`dashboard.domain.de`)'
- # TRAEFIK LOCAL
- traefik.http.routers.traefik-local.entrypoints: 'http'
- traefik.http.routers.traefik-local.rule: 'Host(`dashboard.appoxo.home`)'
- restart: always
- jellyfin:
- image: "linuxserver/jellyfin:latest"
- container_name: jellyfin
- depends_on:
- - traefik
- ports:
- - "1900:1900/udp"
- - "7359:7539/udp"
- expose:
- - 8096
- networks:
- - proxy
- volumes:
- - /home/pi/jellyfin/config:/config
- - /srv/dev-disk-by-uuid-80b3d2d8-66b7-4025-a5bf-5e40532d72f3/media/data/media:/media
- - /srv/dev-disk-by-uuid-8eb563b9-0ed7-4627-9e09-8f13594cec8d/transcodes:/media/transcodes
- - /etc/localtime:/etc/localtime"
- - /opt/vc/lib:/opt/vc/lib
- environment:
- PUID: 1000
- PGID: 100
- UMASK: 022
- TZ: Europe/Berlin
- labels:
- # Traefik:
- traefik.enable: true # Enable Traefik reverse proxy for the Traefik dashboard.
- traefik.http.services.jellyfin.loadbalancer.server.port: 8096
- # Watchtower:
- com.centurylinklabs.watchtower.enable: true
- # TRAEFIK PUBLIC
- #traefik.http.routers.jellyfin-public.entrypoints: 'https'
- #traefik.http.routers.jellyfin-public.rule: 'Host(`jellyfin.domain.de`)'
- # TRAEFIK LOCAL
- traefik.http.routers.jellyfin-local.entrypoints: 'http'
- traefik.http.routers.jellyfin-local.rule: 'Host(`jellyfin.appoxo.home`)'
- restart:
- unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment