-
-
Save prayagsingh/cf7dd19b632ecb5c19c49a4fa9477137 to your computer and use it in GitHub Desktop.
The example of Traefik 2.x configuration that is set on startup.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log: | |
level: info | |
format: json | |
accessLog: | |
format: json | |
bufferingSize: 5 | |
providers: | |
docker: | |
watch: true | |
endpoint: "unix:///var/run/docker.sock" | |
exposedByDefault: false | |
swarmMode: true | |
network: proxy-main | |
swarmModeRefreshSeconds: 5 | |
consulCatalog: | |
exposedByDefault: false | |
refreshInterval: 15 | |
stale: true | |
cache: true | |
endpoint: | |
address: "http://consul-leader:8500" | |
scheme: foobar | |
file: | |
directory: /conf.d | |
watch: true | |
entryPoints: | |
web: | |
address: ":80" | |
forwardedHeaders: | |
insecure: true | |
websecure: | |
address: ":443" | |
forwardedHeaders: | |
insecure: true | |
ping: | |
address: ":8082" | |
metrics: | |
address: ":8083" | |
ping: | |
entryPoint: ping | |
metrics: | |
prometheus: | |
entryPoint: metrics | |
certificatesResolvers: | |
le: | |
acme: | |
email: kuba@cometari.com | |
storage: /letsencrypt/acme.json | |
tlsChallenge: true | |
api: | |
dashboard: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment