Don't mount docker socket to traefik

It was already configured to use the proxy, and was running as non-root
anyway, so likely didn't have access to it in the first place.
This commit is contained in:
Jake Howard 2022-08-16 09:38:27 +01:00
parent 8b21b9e6f2
commit 4eab0d4f01
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -7,7 +7,6 @@ services:
environment:
- CF_DNS_API_TOKEN={{ cloudflare_api_token }}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /tmp/traefik-logs:/var/log/traefik
- ./traefik:/etc/traefik
restart: unless-stopped