blob: cda5b245922abae0e6265d80c98b879b14d28739 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[http.middlewares.simpleAuth.basicAuth]
users = [
# username: sandcastles
# password: admin
"sandcastles:$apr1$Xe1bQOFU$OQ.6qf4QCcRk5E8mQ.yt4."
]
[http.routers.api]
rule = "Host(`dashboard.castle`)"
entrypoints = ["websecure"]
middlewares = ["simpleAuth"]
service = "api@internal"
[http.routers.api.tls]
certResolver = "smallstep"
[http.routers.dockerhost]
rule = "Host(`host.castle`)"
entrypoints = ["websecure"]
service = "dockerhost"
[http.routers.dockerhost.tls]
certResolver = "smallstep"
[http.services.dockerhost]
[http.services.dockerhost.loadbalancer.servers]
url = "http://host.docker.internal:5127"
|