From 85d6931593beb60d5a54037bca2405642cdeb018 Mon Sep 17 00:00:00 2001 From: Florian Zirker Date: Mon, 12 Sep 2022 21:42:37 +0200 Subject: [PATCH] Dockersocket for traefik --- proxy/docker-compose.yaml | 2 +- proxy/traefik.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/docker-compose.yaml b/proxy/docker-compose.yaml index f8ff06d..682389a 100644 --- a/proxy/docker-compose.yaml +++ b/proxy/docker-compose.yaml @@ -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: diff --git a/proxy/traefik.yml b/proxy/traefik.yml index 3c1ff30..587f802 100644 --- a/proxy/traefik.yml +++ b/proxy/traefik.yml @@ -10,7 +10,7 @@ api: providers: docker: exposedbydefault: false - endpoint: "unix:///var/run/docker.sock" + endpoint: "tcp://docker-socket-proxy:2375" file: directory: /extraProviders