Created
November 5, 2019 14:43
-
-
Save Digital-Grinnell/c931d07b74e67eaa26d6aa090c1fb0df to your computer and use it in GitHub Desktop.
My ISLE-1.3.0 traefik.local.toml
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
################################################################ | |
# Global configuration | |
################################################################ | |
# Enable debug mode | |
# debug = true | |
# Log level | |
logLevel = "ERROR" | |
################################################################ | |
# Entrypoints configuration | |
################################################################ | |
# Entrypoints definition | |
defaultEntryPoints = ["http", "https"] | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] | |
entryPoint = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
[[entryPoints.https.tls.certificates]] | |
certFile = "/certs/dg.localdomain.pem" | |
keyFile = "/certs/dg.localdomain.key" | |
# Lines above are for use of self-signed SSL certificates only. | |
# Let's Encrypt cannot be used with locals or demos. | |
# Use the script called /config/proxy/ssl-certs/local.sh to generate these Local self-signed SSL certificates. | |
# Once created add their names to the certFile and keyFile sections accordingly | |
################################################################ | |
# Traefik logs configuration | |
################################################################ | |
# Traefik logs | |
# Enabled by default and log to stdout | |
# | |
# Optional | |
# | |
[traefikLog] | |
# Sets the filepath for the traefik log. If not specified, stdout will be used. | |
# Intermediate directories are created if necessary. | |
# | |
# Optional | |
# Default: os.Stdout | |
# | |
#filePath = "/etc/traefik/traefik_logs/traefik.log" | |
# Format is either "json" or "common". | |
# | |
# Optional | |
# Default: "common" | |
# | |
format = "common" | |
################################################################ | |
# Access logs configuration | |
################################################################ | |
# Enable access logs | |
# By default it will write to stdout and produce logs in the textual | |
# Common Log Format (CLF), extended with additional fields. | |
# | |
# Optional | |
# | |
[accessLog] | |
# Sets the file path for the access log. If not specified, stdout will be used. | |
# Intermediate directories are created if necessary. | |
# | |
# Optional | |
# Default: os.Stdout | |
# | |
#filePath = "/etc/traefik/traefik_logs/access.log" | |
# Format is either "json" or "common". | |
# | |
# Optional | |
# Default: "common" | |
# | |
format = "common" | |
################################################################ | |
# API and dashboard configuration | |
################################################################ | |
# Enable API and dashboard | |
[api] | |
# Name of the related entry point | |
# | |
# Optional | |
# Default: "traefik" | |
# | |
# entryPoint = "traefik" | |
# Enabled Dashboard | |
# | |
# Optional | |
# Default: true | |
# | |
# dashboard = false | |
################################################################ | |
# Docker configuration backend | |
################################################################ | |
# Enable Docker configuration backend | |
[docker] | |
# Docker server endpoint. Can be a tcp or a unix socket endpoint. | |
# | |
# Required | |
# Default: "unix:///var/run/docker.sock" | |
# | |
# endpoint = "tcp://10.10.10.10:2375" | |
endpoint = "unix:///var/run/docker.sock" | |
exposedbydefault = false | |
watch = true | |
## usebindportip = true ## deprecated per Traefik developers. | |
# Use Swarm Mode services as data provider. | |
# | |
# Optional | |
# Default: false | |
# | |
# swarmmode = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment