2019-10-15 15:34:08 +00:00
|
|
|
# Enable Rancher Provider.
|
|
|
|
providers:
|
|
|
|
consulcatalog:
|
|
|
|
|
2019-10-16 08:36:04 +00:00
|
|
|
# Expose Consul Catalog services by default in Traefik.
|
|
|
|
exposedByDefault: true
|
|
|
|
|
2019-10-15 15:34:08 +00:00
|
|
|
# Defines the consul address endpoint.
|
|
|
|
address: 127.0.0.1:8500
|
|
|
|
|
|
|
|
# Defines the scheme used.
|
|
|
|
scheme: "foobar"
|
|
|
|
|
|
|
|
# Defines the DC.
|
|
|
|
datacenter: "foobar"
|
|
|
|
|
|
|
|
# Defines the token.
|
|
|
|
token: "foobar"
|
|
|
|
|
|
|
|
# Defines the expoint wait time.
|
|
|
|
endpointWaitTime: "15s"
|
|
|
|
|
|
|
|
# Defines Consul Catalog Provider TLS endpoint.
|
|
|
|
endpoint:
|
|
|
|
tls:
|
|
|
|
|
|
|
|
# Defines Consul Catalog Provider endpoint.
|
|
|
|
caOptional: true
|
|
|
|
cert: "foobar"
|
|
|
|
key: "foobar"
|
|
|
|
insecureSkipVerify: true
|