Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
Marek Celoud | dd1e6bc | 2017-03-22 16:18:09 +0100 | [diff] [blame] | 2 | _param: |
| 3 | docker_image_visualizer: manomarks/visualizer |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 4 | docker: |
| 5 | client: |
| 6 | service: |
| 7 | visualizer: |
| 8 | restart: |
| 9 | condition: any |
Marek Celoud | dd1e6bc | 2017-03-22 16:18:09 +0100 | [diff] [blame] | 10 | image: ${_param:docker_image_visualizer} |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 11 | constraint: "node.role==manager" |
| 12 | ports: |
| 13 | - 18090:8080 |
| 14 | volume: |
| 15 | docker: |
| 16 | type: bind |
| 17 | source: /var/run/docker.sock |
| 18 | destination: /var/run/docker.sock |