-
Notifications
You must be signed in to change notification settings - Fork 0
/
.traefik.yml
26 lines (21 loc) · 1.14 KB
/
.traefik.yml
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
displayName: Compose scaler
type: middleware
iconPath: ./docs/img/hourglass.png
import: github.com/t348575/compose-scaler/plugins/traefik
summary: "Starts and stops compose projects on demand"
testData:
composeScalerUrl: http://compose-scaler:10000 # The compose-scaler URL service, must be reachable from the Traefik instance
names: whoami,nginx # Comma separated names of containers/services/deployments etc.
group: default # Group name to use to filter by label, ignored if names is set
sessionDuration: 1m # The session duration after which containers/services/deployments instances are shutdown
# You can only use one strategy at a time
# To do so, only declare `dynamic` or `blocking`
# Dynamic strategy, provides the waiting webui
dynamic:
displayName: My Title # (Optional) Defaults to the middleware name
theme: hacker-terminal # (Optional) The theme to use
refreshFrequency: 5s # (Optional) The loading page refresh frequency
# Blocking strategy, waits until services are up and running
# but will not wait more than `timeout`
# blocking:
# timeout: 1m