traefik local
This commit is contained in:
parent
4c2bdef32e
commit
4e29e82851
20 changed files with 119 additions and 74 deletions
20
traefik/traefik.yml
Normal file
20
traefik/traefik.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
logLevel: INFO
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
dashboard: true
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
https:
|
||||
address: ":443"
|
||||
|
||||
providers:
|
||||
file:
|
||||
filename: /etc/traefik/tls.yml
|
||||
docker:
|
||||
endpoint: unix:///var/run/docker.sock
|
||||
watch: true
|
||||
exposedByDefault: true
|
||||
defaultRule: "HostRegexp(`{{ index .Labels \"com.docker.compose.service\"}}.traefik.me`,`{{ index .Labels \"com.docker.compose.service\"}}-{dashed-ip:.*}.traefik.me`)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue