nopaque/dind_swarm.yml
2019-11-28 09:57:03 +01:00

26 lines
571 B
YAML

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