mirror of
https://github.com/zix99/traefik-lazyload.git
synced 2025-12-24 22:39:12 +01:00
3466d20b808eee43c75e4fb12d307b952a820441
traefik-lazyloader
Takes advantage of traefik's router priority to proxy to this small application that will manage starting/stopping containers to save resources.
Quick-Start
Config
Labels
lazyloader=true-- (Required) Add to containers that should be managedlazyloader.stopdelay=5m-- Amount of time to wait for idle network traffick before stopping a containerlazyloader.waitforcode=200-- Waits for this HTTP result from downstream before redirecting userlazyloader.waitforpath=/-- Checks this path downstream to check for the process being ready, using thewaitforcodelazyloader.hosts=a.com,b.net,etc-- Set specific hostnames that will trigger. By default, will look for traefik router
Features
- Dependencies & groups (eg. shut down DB if all dependent apps are down)
License
GPLv3
Description
A small traefik/docker wrapper to load and unload containers on-demand to save resources
Languages
Go
77.6%
HTML
13.7%
CSS
7.7%
Dockerfile
1%