34 lines
606 B
TOML
34 lines
606 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
noColor = true
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = ":8000"
|
|
|
|
[api]
|
|
insecure = true
|
|
|
|
[providers]
|
|
[providers.docker]
|
|
watch = true
|
|
exposedByDefault = false
|
|
|
|
[providers.file]
|
|
filename = "{{ .SelfFilename }}"
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
[http.routers.router-1]
|
|
service = "service-test"
|
|
rule = "PathPrefix(`/file`)"
|
|
|
|
[http.services]
|
|
[http.services.service-test.loadBalancer]
|
|
[[http.services.service-test.loadBalancer.servers]]
|
|
url = "http://{{ .IP }}"
|