From 0fe8da17cb35648962eb9add5cc39d545d8b2805 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 21 Dec 2024 02:38:03 -0500 Subject: Scale Jellyfin to 0 with sablier --- configs/traefik/static-cfg.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'configs/traefik/static-cfg.yaml') diff --git a/configs/traefik/static-cfg.yaml b/configs/traefik/static-cfg.yaml index 91ecb03..d47124c 100644 --- a/configs/traefik/static-cfg.yaml +++ b/configs/traefik/static-cfg.yaml @@ -7,8 +7,33 @@ http: 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 -- cgit v1.2.3