Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #debug = true
- logLevel = "ERROR" #DEBUG, INFO, WARN, ERROR, FATAL, PANIC
- InsecureSkipVerify = true
- defaultEntryPoints = ["https", "http"]
- # WEB interface of Traefik - it will show web page with overview of frontend an$
- [api]
- entryPoint = "traefik"
- dashboard = true
- address = ":8080"
- # Force HTTPS
- [entryPoints]
- [entryPoints.http]
- address = ":80"
- [entryPoints.http.redirect]
- entryPoint = "https"
- [entryPoints.https]
- address = ":443"
- [entryPoints.https.tls]
- [file]
- watch = true
- filename = "/etc/traefik/rules.toml"
- # Let's encrypt configuration
- [acme]
- email = "[email protected]" #any email id will work
- storage="/etc/traefik/acme/acme.json"
- entryPoint = "https"
- acmeLogging=true
- onDemand = false #create certificate when container is created
- [acme.dnsChallenge]
- provider = "cloudflare"
- delayBeforeCheck = 300
- [[acme.domains]]
- main = "domain.com"
- [[acme.domains]]
- main = "*.domain.com"
- # Connection to docker host system (docker.sock)
- [docker]
- endpoint = "unix:///var/run/docker.sock"
- domain = "domain.com"
- watch = true
- # This will hide all docker containers that don't have explicitly
- # set label to "enable"
- exposedbydefault = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement