Advertisement
Guest User

traefik.toml

a guest
Feb 15th, 2020
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.20 KB | None | 0 0
  1. #debug = true
  2.  
  3. logLevel = "ERROR" #DEBUG, INFO, WARN, ERROR, FATAL, PANIC
  4. InsecureSkipVerify = true
  5. defaultEntryPoints = ["https", "http"]
  6.  
  7. # WEB interface of Traefik - it will show web page with overview of frontend an$
  8. [api]
  9.   entryPoint = "traefik"
  10.   dashboard = true
  11.   address = ":8080"
  12.  
  13. # Force HTTPS
  14. [entryPoints]
  15.   [entryPoints.http]
  16.   address = ":80"
  17.     [entryPoints.http.redirect]
  18.     entryPoint = "https"
  19.   [entryPoints.https]
  20.   address = ":443"
  21.     [entryPoints.https.tls]
  22.  
  23. [file]
  24.   watch = true
  25.   filename = "/etc/traefik/rules.toml"
  26.  
  27. # Let's encrypt configuration
  28. [acme]
  29. email = "[email protected]" #any email id will work
  30. storage="/etc/traefik/acme/acme.json"
  31. entryPoint = "https"
  32. acmeLogging=true
  33. onDemand = false #create certificate when container is created
  34. [acme.dnsChallenge]
  35.   provider = "cloudflare"
  36.   delayBeforeCheck = 300
  37. [[acme.domains]]
  38.    main = "domain.com"
  39. [[acme.domains]]
  40.    main = "*.domain.com"
  41.  
  42. # Connection to docker host system (docker.sock)
  43. [docker]
  44. endpoint = "unix:///var/run/docker.sock"
  45. domain = "domain.com"
  46. watch = true
  47. # This will hide all docker containers that don't have explicitly
  48. # set label to "enable"
  49. exposedbydefault = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement