[docker backend] - Add config flag to set refreshSeconds for swarmmode ticker

This commit is contained in:
Thomas Krzero 2018-11-27 17:44:04 +01:00 committed by Traefiker Bot
parent 2f65572247
commit 3b01488c8d
3 changed files with 19 additions and 11 deletions

View file

@ -154,6 +154,7 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
defaultDocker.ExposedByDefault = true
defaultDocker.Endpoint = "unix:///var/run/docker.sock"
defaultDocker.SwarmMode = false
defaultDocker.SwarmModeRefreshSeconds = 15
// default Rest
var defaultRest rest.Provider