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

View file

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