Skip to content

Instantly share code, notes, and snippets.

@ecliptik
Last active March 9, 2017 22:25
Show Gist options
  • Save ecliptik/bd6b6549c1abf29f88018ecbb4670301 to your computer and use it in GitHub Desktop.
Save ecliptik/bd6b6549c1abf29f88018ecbb4670301 to your computer and use it in GitHub Desktop.
Named Local Volume
version: '2'
volumes:
data:
driver: local
services:
worker1:
image: worker1
stdin_open: true
volumes:
- data:/db/files
worker2:
image: worker2
stdin_open: true
volumes:
- data:/db/files
worker3:
image: worker3
stdin_open: true
volumes:
- data:/db/files
web:
image: web
stdin_open: true
volumes:
- data:/db/files
ports:
- 23000:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment