portainer
DevOps Docker Monitor: portainer
docker-compose.yml
You have to set the network
to the same as the container that you want to monitor
version: '3.9'
networks:
local-proxy-network:
driver: bridge
services:
portainer:
container_name: local_portainer
image: portainer/portainer-ce
command: -H unix:///var/run/docker.sock
restart: always
ports:
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
volumes:
portainer_data: