traefik/integration/fixtures/multiple_provider.toml

30 lines
515 B
TOML
Raw Normal View History

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