Skip to content

Commit 48a4875

Browse files
authored
docs(traefik): update testData to be compliant (#72)
1 parent 411c2b2 commit 48a4875

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.traefik.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ import: github.com/acouvreur/sablier/plugins/traefik
77
summary: "Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible."
88

99
testData:
10-
sablierUrl: http://sablier:10000
11-
names: whoami,nginx # comma separated names
12-
sessionDuration: 1m
10+
sablierUrl: http://sablier:10000 # The sablier URL service, must be reachable from the Traefik instance
11+
names: whoami,nginx # Comma separated names of containers/services/deployments etc.
12+
sessionDuration: 1m # The session duration after which containers/services/deployments instances are shutdown
13+
# You can only use one strategy at a time
14+
# To do so, only declare `dynamic` or `blockin`
15+
1316
# Dynamic strategy, provides the waiting webui
1417
dynamic:
15-
displayName: My Title
16-
theme: hacker-terminal
18+
displayName: My Title # (Optional) Defaults to the middleware name
19+
theme: hacker-terminal # (Optional)
20+
1721
# Blocking strategy, waits until services are up and running
1822
# but will not wait more than `timeout`
19-
blocking:
20-
timeout: 1m
23+
# blocking:
24+
# timeout: 1m

0 commit comments

Comments
 (0)