29 lines
515 B
TOML
29 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
|