33 lines
613 B
TOML
33 lines
613 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[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
|