2017-08-26 10:12:44 +00:00
|
|
|
# Eureka Backend
|
2017-08-25 19:32:33 +00:00
|
|
|
|
2017-09-11 17:10:04 +00:00
|
|
|
Træfik can be configured to use Eureka as a backend configuration.
|
2017-08-25 19:32:33 +00:00
|
|
|
|
|
|
|
```toml
|
|
|
|
################################################################
|
|
|
|
# Eureka configuration backend
|
|
|
|
################################################################
|
|
|
|
|
2017-09-11 17:10:04 +00:00
|
|
|
# Enable Eureka configuration backend.
|
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"
|
|
|
|
```
|