traefik/integration/fixtures/multiple_provider.toml
2018-11-27 17:42:04 +01:00

30 lines
515 B
TOML

[global]
debug=true
[entryPoints]
[entryPoints.http]
address = ":8000"
[api]
[providers]
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
exposedByDefault = false
[providers.file]
[Routers]
[Routers.router-1]
Service = "service-test"
Rule = "PathPrefix:/file"
[Services]
[Services.service-test]
[Services.service-test.LoadBalancer]
[[Services.service-test.LoadBalancer.Servers]]
URL = "http://{{ .IP }}"
Weight = 1