Skip to content

Commit

Permalink
startup portainer and visualizer stack yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetaksit committed Mar 22, 2018
1 parent a27af9c commit 02541e5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# monitoring
Docker Monitoring (Portainer & docker-swarm-visualizer)

# Portainer and Visualizer compose
docker-compose.yml
24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: '3'

services:

portainer:
image: portainer/portainer
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9090:9000
deploy:
placement:
constraints: [node.role == manager]


viz:
image: dockersamples/visualizer
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9080:8080
deploy:
placement:
constraints: [node.role == manager]

0 comments on commit 02541e5

Please sign in to comment.