Trim down extras, stop using a default rule

This commit is contained in:
Luke Murphy 2020-04-25 12:57:35 +02:00
parent 64a220e2a8
commit 1ad2bd6585
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 0 additions and 4 deletions

View File

@ -11,7 +11,6 @@ services:
- "443:443"
- "8080:8080"
volumes:
# use https://github.com/Tecnativa/docker-socket-proxy later
- "/var/run/docker.sock:/var/run/docker.sock"
- "./letsencrypt:/etc/letsencrypt"
- "./traefik.yml:/etc/traefik/traefik.yml"

View File

@ -4,13 +4,10 @@ log:
providers:
docker:
# enable when using https://github.com/Tecnativa/docker-socket-proxy
# endpoint: "tcp://dockerproxy:2375"
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: "proxy"
swarmMode: true
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.swarm.autonomic.zone`)"
api:
dashboard: true