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"
|
- "443:443"
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
- dockersocket
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
||||||
- "$PWD/traefik.yml:/etc/traefik/traefik.yml"
|
- "$PWD/traefik.yml:/etc/traefik/traefik.yml"
|
||||||
- "$PWD/extraProviders/:/extraProviders:ro"
|
- "$PWD/extraProviders/:/extraProviders:ro"
|
||||||
labels:
|
labels:
|
||||||
|
|
|
@ -10,7 +10,7 @@ api:
|
||||||
providers:
|
providers:
|
||||||
docker:
|
docker:
|
||||||
exposedbydefault: false
|
exposedbydefault: false
|
||||||
endpoint: "unix:///var/run/docker.sock"
|
endpoint: "tcp://docker-socket-proxy:2375"
|
||||||
|
|
||||||
file:
|
file:
|
||||||
directory: /extraProviders
|
directory: /extraProviders
|
||||||
|
|
Loading…
Reference in a new issue