21 lines
640 B
Text
21 lines
640 B
Text
|
# Enable Rancher Provider.
|
||
|
--providers.rancher
|
||
|
|
||
|
# Expose Rancher services by default in Traefik.
|
||
|
--providers.rancher.exposedByDefault=true
|
||
|
|
||
|
# Enable watch Rancher changes.
|
||
|
--providers.rancher.watch=true
|
||
|
|
||
|
# Filter services with unhealthy states and inactive states.
|
||
|
--providers.rancher.enableServiceHealthFilter=true
|
||
|
|
||
|
# Defines the polling interval (in seconds).
|
||
|
--providers.rancher.refreshSeconds=true
|
||
|
|
||
|
# Poll the Rancher metadata service for changes every `rancher.refreshSeconds`, which is less accurate
|
||
|
--providers.rancher.intervalPoll=false
|
||
|
|
||
|
# Prefix used for accessing the Rancher metadata service
|
||
|
--providers.rancher.prefix="/latest"
|