Go to file

Traefik Ondemand Plugin

Build

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.

Demo

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)

Alexandre and Alexis

Description
Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible.
Readme AGPL-3.0 60 MiB
Languages
Go 89.4%
HTML 9.9%
Makefile 0.6%
Dockerfile 0.1%