summaryrefslogtreecommitdiff
path: root/configs/traefik/static-cfg.yaml
blob: d47124ca227179d7a063ed2151774874e7e4765c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
http:
  routers:
    plex:
      rule: Host(`plex.{{ env "DOMAIN" }}`)
      service: plex
      tls:
        certResolver: cloudflare
      entryPoints:
        - websecure
    jellyfin:
      rule: Host(`watch.{{ env "DOMAIN" }}`)
      service: jellyfin
      entryPoints:
        - websecure
      tls:
        certResolver: cloudflare
      middlewares:
        - my-sablier@file
  services:
    plex:
      loadBalancer:
        servers:
          - url: 'http://host.docker.internal:32400'
    jellyfin:
      loadBalancer:
        servers:
          - url: "http://jellyfin:8096"

  middlewares:
    my-sablier:
      plugin:
        sablier:
          group: home
          dynamic:
            displayName: Hourglass
            refreshFrequency: 2s
            theme: ghost
          sablierUrl: http://sablier:10000
          sessionDuration: 1m