fix socket proxy

This commit is contained in:
krisz 2025-01-12 16:21:38 +01:00
parent 2d24448f4c
commit aea7569533

View File

@ -27,7 +27,8 @@ services:
#-p 127.0.0.1:2375:2375 #-p 127.0.0.1:2375:2375
docker-socket-proxy: docker-socket-proxy:
image: tecnativa/docker-socket-proxy image: tecnativa/docker-socket-proxy
privileged: true cap_add:
- NET_ADMIN
networks: networks:
- local - local
volumes: volumes:
@ -77,7 +78,7 @@ services:
- traefik.http.routers.traefik-metrics.service=prometheus@internal - traefik.http.routers.traefik-metrics.service=prometheus@internal
volumes: volumes:
# Add Docker as a mounted volume, so that Traefik can read the labels of other services # Add Docker as a mounted volume, so that Traefik can read the labels of other services
- traefik-certs:/certificates - traefik-certificates:/certificates
- traefik-config:/etc/traefik/dynamic_conf - traefik-config:/etc/traefik/dynamic_conf
- traefik-letsencrypt:/letsencrypt - traefik-letsencrypt:/letsencrypt
# Mount the volume to store the certificates # Mount the volume to store the certificates