nopaque/dind_swarm.yml
2020-03-30 17:27:54 +02:00

31 lines
702 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"
volumes:
- "/srv/nopaque/storage:/srv/nopaque/storage"
worker:
image: docker:dind
ports:
- "2375"
privileged: true
volumes:
- "/mnt/nopaque:/mnt/nopaque"
viz:
image: dockersamples/visualizer:latest
labels:
- "traefik.enable=true"
- "traefik.http.routers.viz.rule=Host(`viz.localhost`)"
- "traefik.http.routers.viz.entrypoints=web"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"