9ebe3c38b2
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
29 lines
518 B
TOML
29 lines
518 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
|