2018-05-16 17:48:03 +00:00
|
|
|
# Eureka Provider
|
2017-08-25 19:32:33 +00:00
|
|
|
|
2018-05-16 17:48:03 +00:00
|
|
|
Træfik can be configured to use Eureka as a provider.
|
2017-08-25 19:32:33 +00:00
|
|
|
|
|
|
|
```toml
|
|
|
|
################################################################
|
2018-05-16 17:48:03 +00:00
|
|
|
# Eureka Provider
|
2017-08-25 19:32:33 +00:00
|
|
|
################################################################
|
|
|
|
|
2018-05-16 17:48:03 +00:00
|
|
|
# Enable Eureka Provider.
|
2017-08-25 19:32:33 +00:00
|
|
|
[eureka]
|
|
|
|
|
|
|
|
# Eureka server endpoint.
|
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
|
|
|
endpoint = "http://my.eureka.server/eureka"
|
|
|
|
|
2017-09-11 17:10:04 +00:00
|
|
|
# Override default configuration time between refresh.
|
2017-08-25 19:32:33 +00:00
|
|
|
#
|
|
|
|
# Optional
|
2017-09-11 17:10:04 +00:00
|
|
|
# Default: 30s
|
|
|
|
#
|
2018-03-07 09:46:04 +00:00
|
|
|
refreshSeconds = "1m"
|
2017-08-25 19:32:33 +00:00
|
|
|
|
2017-09-11 17:10:04 +00:00
|
|
|
# Override default configuration template.
|
|
|
|
# For advanced users :)
|
2017-08-25 19:32:33 +00:00
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
|
|
|
# filename = "eureka.tmpl"
|
|
|
|
```
|