# -*- coding: utf-8 mode: yaml -*- vim:sw=2:sts=2:et:ai:si:sta:fenc=utf-8 services: main: image: dockersamples/visualizer:stable ports: - 9000:8080 volumes: - /var/run/docker.sock:/var/run/docker.sock #deploy: # placement: # constraints: # - node.hostname == sw1 # #- node.platform.os == linux # #- node.role == manager