mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-31 18:17:20 +01:00
a0e59ce0f602dd8c88d7f906c51716f4f6eab49d
Traefik Ondemand Plugin
Start your containers/services on the first request they recieve, and shut them down after a specified duration after the last request they received.
Docker classic and docker swarm compatible.
Usage
testData:
serviceUrl: http://ondemand:10000
name: TRAEFIK_HACKATHON_whoami
timeout: 1m
| Parameter | Type | Example | Description |
|---|---|---|---|
serviceUrl |
string |
http://ondemand:10000 |
The docker container name, or the swarm service name |
name |
string |
TRAEFIK_HACKATHON_whoami |
The container/service to be stopped (docker ps |
timeout |
time.Duration |
1m30s |
The duration after which the container/service will be scaled down to 0 |
Examples
Authors
Alexis Couvreur (left) and Alexandre Hiltcher (right)
Languages
Go
89.4%
HTML
9.9%
Makefile
0.6%
Dockerfile
0.1%

