mirror of
https://github.com/containous/traefik.git
synced 2025-01-29 21:47:13 +03:00
21 lines
640 B
Plaintext
21 lines
640 B
Plaintext
# 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"
|