summaryrefslogtreecommitdiff
path: root/configs/traefik/static-cfg.yaml
blob: 74785fd5ceb09c485c891606150968d68aa7cbdb (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
http:
  routers:
    plex:
      rule: Host(`plex.{{ env "DOMAIN" }}`)
      service: plex
      tls:
        certResolver: cloudflare
      entryPoints:
        - websecure
    kanban:
      rule: Host(`kanban.{{ env "DOMAIN" }}`)
      service: kanban
      entryPoints:
        - websecure
      tls:
        certResolver: cloudflare
      middlewares:
        - kanban-sablier@file
    jellyfin:
      rule: Host(`watch.{{ env "DOMAIN" }}`)
      service: jellyfin
      entryPoints:
        - websecure
      tls:
        certResolver: cloudflare
      middlewares:
        - jelly-sablier@file
  services:
    plex:
      loadBalancer:
        servers:
          - url: 'http://host.docker.internal:32400'
    kanban:
      loadBalancer:
        servers:
          - url: "http://kanban:1337"
    jellyfin:
      loadBalancer:
        servers:
          - url: "http://jellyfin:8096"

  middlewares:
    kanban-sablier:
      plugin:
        sablier:
          group: kanban
          dynamic:
            displayName: Kanban
            refreshFrequency: 2s
            theme: ghost
          sablierUrl: http://sablier:10000
          sessionDuration: 1m
    jelly-sablier:
      plugin:
        sablier:
          group: home
          dynamic:
            displayName: Jellyfin
            refreshFrequency: 2s
            theme: ghost
          sablierUrl: http://sablier:10000
          sessionDuration: 1m