Trim down extras, stop using a default rule
This commit is contained in:
parent
64a220e2a8
commit
1ad2bd6585
@ -11,7 +11,6 @@ services:
|
|||||||
- "443:443"
|
- "443:443"
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
# use https://github.com/Tecnativa/docker-socket-proxy later
|
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
- "./letsencrypt:/etc/letsencrypt"
|
- "./letsencrypt:/etc/letsencrypt"
|
||||||
- "./traefik.yml:/etc/traefik/traefik.yml"
|
- "./traefik.yml:/etc/traefik/traefik.yml"
|
||||||
|
@ -4,13 +4,10 @@ log:
|
|||||||
|
|
||||||
providers:
|
providers:
|
||||||
docker:
|
docker:
|
||||||
# enable when using https://github.com/Tecnativa/docker-socket-proxy
|
|
||||||
# endpoint: "tcp://dockerproxy:2375"
|
|
||||||
endpoint: "unix:///var/run/docker.sock"
|
endpoint: "unix:///var/run/docker.sock"
|
||||||
exposedByDefault: false
|
exposedByDefault: false
|
||||||
network: "proxy"
|
network: "proxy"
|
||||||
swarmMode: true
|
swarmMode: true
|
||||||
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.swarm.autonomic.zone`)"
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
dashboard: true
|
dashboard: true
|
||||||
|
Reference in New Issue
Block a user