Skip to content
Snippets Groups Projects
dind_swarm.yml 587 B
version: '3'

services:
  storage:
    command: ["-p", "-s", "opaque_storage;/srv/opaque/storage;no;no;no;opaque", "-u", "opaque;opaque"]
    image: dperson/samba:latest
    ports:
      - 139:139
      - 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