mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00

Optionally allow a user to specify a “warm-up” endpoint to start the container, returning a 403 if the endpoint isn’t hit and the container has been stopped. This can help prevent bots from starting random containers, or allow health check systems to run some probes.
16 lines
442 B
Go
16 lines
442 B
Go
package docker
|
|
|
|
const (
|
|
WildcardAlias = "*"
|
|
|
|
NSProxy = "proxy"
|
|
|
|
LabelAliases = NSProxy + ".aliases"
|
|
LabelExclude = NSProxy + ".exclude"
|
|
LabelIdleTimeout = NSProxy + ".idle_timeout"
|
|
LabelWakeTimeout = NSProxy + ".wake_timeout"
|
|
LabelStopMethod = NSProxy + ".stop_method"
|
|
LabelStopTimeout = NSProxy + ".stop_timeout"
|
|
LabelStopSignal = NSProxy + ".stop_signal"
|
|
LabelStartEndpoint = NSProxy + ".start_endpoint"
|
|
)
|