-
Notifications
You must be signed in to change notification settings - Fork 1
/
traefik.toml
40 lines (31 loc) · 937 Bytes
/
traefik.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]
[api]
debug = true
[entryPoints]
[entryPoints.traefik]
address = ":8080"
[entryPoints.traefik.auth.basic]
users = ["admin:$apr1$hD9OJEta$TT7mPGXzdnkKXY/zfmFLm0"]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "/certs/cert.crt"
keyFile = "/certs/cert.key"
[entryPoints.withTLS]
address = ":4443"
[entryPoints.withTLS.tls.ClientCA]
files = ["/certs/client.crt"]
optional = false
[entryPoints.withTLS.tls]
[[entryPoints.withTLS.tls.certificates]]
certFile = "/certs/cert.crt"
keyFile = "/certs/cert.key"
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "docker.localhost"
watch = true
exposedByDefault = true