Skip to content

Instantly share code, notes, and snippets.

@jitheshkt
Created December 29, 2019 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jitheshkt/3832050db79db7a9be3e2e60a164c9ca to your computer and use it in GitHub Desktop.
Save jitheshkt/3832050db79db7a9be3e2e60a164c9ca to your computer and use it in GitHub Desktop.
Traefik 2.0 Docker Container Configuration
api:
dashboard: true
entryPoints:
http:
address: ":80"
https:
address: ":443"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
certificatesResolvers:
http:
acme:
email: your@mail.com
storage: acme.json
httpChallenge:
entryPoint: http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment