nopaque/dind_swarm.yml

26 lines
571 B
YAML
Raw Normal View History

2019-11-26 09:57:01 +00:00
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