summaryrefslogblamecommitdiffstats
path: root/volumes/proxy/traefik_dynamic.toml
blob: cda5b245922abae0e6265d80c98b879b14d28739 (plain) (tree)
























                                                       
[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"