seperate docker-socket-proxy from traefik network

This commit is contained in:
2026-07-17 10:10:53 +10:00
parent e733382f6c
commit 2954bcf671
6 changed files with 8 additions and 1 deletions
@@ -1,51 +0,0 @@
services:
docker-socket-proxy:
profiles: ["monitoring","all","docker-socket-proxy", "core", "traefik", "uptime-kuma", "beszel", "wud", "apps"]
image: tecnativa/docker-socket-proxy:latest
container_name: docker-socket-proxy
hostname: docker-socket-proxy
restart: unless-stopped
environment:
LOG_LEVEL: ${DOCKER_SOCKET_PROXY_LOG_LEVEL}
DISTRIBUTION: 1
CONTAINERS: 1
EVENTS: 1
IMAGES: 1
INFO: 1
NETWORKS: 1
PING: 1
POST: 1
AUTH: 1
EXEC: 1
SYSTEM: 1
SERVICES: 1
SWARM: 1
NODES: 1
SECRETS: 1
TASKS: 1
VERSION: 1
VOLUMES: 1
ALLOW_START: 1 # for better security, set to 0
ALLOW_STOP: 1 # for better security, set to 0
ALLOW_RESTARTS: 1 # for better security, set to 0
BUILD: 0
COMMIT: 0
CONFIGS: 0
DELETE: 1
DISABLE_IPV6: 0
PLUGINS: 0
SESSION: 0
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
networks:
# - monitor
- traefik
ports:
- 2375:2375
labels:
- "wud.watch=true"
@@ -31,6 +31,7 @@ services:
# - traefik_reverse_proxy
- traefik
# - monitor
- docker-socket-proxy
#networks:
# traefik_reverse_proxy:
+3 -1
View File
@@ -7,7 +7,8 @@ services:
# ports:
# - "3000:3000"
depends_on:
- docker-socket-proxy
volumes:
- ${DOCKER_VOLUMES}/wud:/store
# - /var/run/docker.sock:/var/run/docker.sock:ro
@@ -46,6 +47,7 @@ services:
networks:
- traefik
- docker-socket-proxy
healthcheck:
test: curl --fail http://localhost:${WUD_SERVER_PORT:-3000}/health || exit 1