2017-08-26 10:12:44 +00:00
|
|
|
# Eureka Backend
|
2017-08-25 19:32:33 +00:00
|
|
|
|
|
|
|
Træfik can be configured to use Eureka as a backend configuration:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
################################################################
|
|
|
|
# Eureka configuration backend
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# Enable Eureka configuration backend
|
|
|
|
[eureka]
|
|
|
|
|
|
|
|
# Eureka server endpoint.
|
|
|
|
# endpoint := "http://my.eureka.server/eureka"
|
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
|
|
|
endpoint = "http://my.eureka.server/eureka"
|
|
|
|
|
|
|
|
# Override default configuration time between refresh
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
# default 30s
|
|
|
|
delay = "1m"
|
|
|
|
|
|
|
|
# Override default configuration template. For advanced users :)
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
|
|
|
# filename = "eureka.tmpl"
|
|
|
|
```
|