Skip to content

Instantly share code, notes, and snippets.

@oosidat
Created January 17, 2017 15:56
Show Gist options
  • Save oosidat/80f33a2a716411d937c0b4806ddd8bfe to your computer and use it in GitHub Desktop.
Save oosidat/80f33a2a716411d937c0b4806ddd8bfe to your computer and use it in GitHub Desktop.
mongo:
image: mongo:3.2.11
volumes:
- /data/db/mongo
ports:
- "27017:27017"
redis:
image: redis
volumes:
- /data/db/redis
ports:
- "6379:6379"
@oosidat
Copy link
Author

oosidat commented Jan 17, 2017

To run:

  • Copy to a directory
  • Rename file to name docker-compose.yml
  • run docker-compose up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment