use shared prometheus docker-socket-proxy across services

This commit is contained in:
beatz174-bit
2026-04-08 09:17:44 +10:00
parent 700328d677
commit 94565837f1
4 changed files with 14 additions and 5 deletions
+3 -2
View File
@@ -4,9 +4,10 @@ services:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
command: -H unix:///var/run/docker.sock
depends_on:
- docker-socket-proxy
command: -H tcp://docker-socket-proxy:2375
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${PROJECT_ROOT}/monitoring/portainer/data:/data
networks:
# - traefik_reverse_proxy