Dockersocket for traefik
This commit is contained in:
parent
fb1a41e63f
commit
85d6931593
2 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ services:
|
|||
- "443:443"
|
||||
networks:
|
||||
- web
|
||||
- dockersocket
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "$PWD/traefik.yml:/etc/traefik/traefik.yml"
|
||||
- "$PWD/extraProviders/:/extraProviders:ro"
|
||||
labels:
|
||||
|
|
|
@ -10,7 +10,7 @@ api:
|
|||
providers:
|
||||
docker:
|
||||
exposedbydefault: false
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
endpoint: "tcp://docker-socket-proxy:2375"
|
||||
|
||||
file:
|
||||
directory: /extraProviders
|
||||
|
|
Loading…
Reference in a new issue