29 lines
547 B
TOML
29 lines
547 B
TOML
[global]
|
|
debug=true
|
|
|
|
[entrypoints]
|
|
[entrypoints.web]
|
|
address = ":8000"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.docker]
|
|
endpoint = "unix:///var/run/docker.sock"
|
|
watch = true
|
|
exposedByDefault = false
|
|
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router-1]
|
|
Service = "service-test"
|
|
Rule = "PathPrefix(`/file`)"
|
|
|
|
[http.services]
|
|
[http.services.service-test]
|
|
[http.services.service-test.LoadBalancer]
|
|
|
|
[[http.services.service-test.LoadBalancer.Servers]]
|
|
URL = "http://{{ .IP }}"
|
|
Weight = 1
|