Trim down extras, stop using a default rule
This commit is contained in:
parent
64a220e2a8
commit
1ad2bd6585
@ -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"
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user