nopaque/dind_swarm.yml
2019-12-02 11:57:08 +01:00

26 lines
580 B
YAML

version: '3'
services:
storage:
command: ["-p", "-s", "storage.nopaque;/srv/nopaque/storage;no;no;no;nopaque", "-u", "nopaque;nopaque"]
image: dperson/samba:latest
ports:
- 445:445
restart: on-failure
volumes:
- /srv/nopaque/storage:/srv/nopaque/storage
worker:
image: docker:dind
ports:
- 2375
privileged: true
restart: on-failure
volumes:
- /mnt/nopaque:/mnt/nopaque
viz:
image: dockersamples/visualizer:latest
ports:
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock