nopaque/dind_swarm.yml

31 lines
702 B
YAML
Raw Normal View History

2019-11-26 09:57:01 +00:00
version: '3'
services:
storage:
2020-03-30 15:27:54 +00:00
command:
- "-p"
- "-s"
- "storage.nopaque;/srv/nopaque/storage;no;no;no;nopaque"
- "-u"
- "nopaque;nopaque"
2019-11-26 09:57:01 +00:00
image: dperson/samba:latest
ports:
2020-03-30 15:27:54 +00:00
- "445:445"
2019-11-26 09:57:01 +00:00
volumes:
2020-03-30 15:27:54 +00:00
- "/srv/nopaque/storage:/srv/nopaque/storage"
2019-11-26 09:57:01 +00:00
worker:
image: docker:dind
ports:
2020-03-30 15:27:54 +00:00
- "2375"
2019-11-26 09:57:01 +00:00
privileged: true
volumes:
2020-03-30 15:27:54 +00:00
- "/mnt/nopaque:/mnt/nopaque"
2019-11-26 09:57:01 +00:00
viz:
image: dockersamples/visualizer:latest
2020-03-30 15:27:54 +00:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.viz.rule=Host(`viz.localhost`)"
- "traefik.http.routers.viz.entrypoints=web"
2019-11-26 09:57:01 +00:00
volumes:
2020-03-30 15:27:54 +00:00
- "/var/run/docker.sock:/var/run/docker.sock"