Dockersocket for traefik

This commit is contained in:
Florian Zirker 2022-09-12 21:42:37 +02:00
parent fb1a41e63f
commit 85d6931593
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -10,7 +10,7 @@ api:
providers:
docker:
exposedbydefault: false
endpoint: "unix:///var/run/docker.sock"
endpoint: "tcp://docker-socket-proxy:2375"
file:
directory: /extraProviders