Created
March 17, 2019 11:33
-
-
Save afonsoaugusto/cb453fb2d6ff8432c40aeda55ae34e51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
visualizer: | |
image: dockersamples/visualizer:stable | |
ports: | |
- "8080:8080" | |
stop_grace_period: 1m30s | |
volumes: | |
- "/var/run/docker.sock:/var/run/docker.sock" | |
deploy: | |
placement: | |
constraints: [node.role == manager] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment