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