Skip to content

Instantly share code, notes, and snippets.

@gokulnath
Created February 1, 2017 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokulnath/9476220545dff52a24c75eafed60e58e to your computer and use it in GitHub Desktop.
Save gokulnath/9476220545dff52a24c75eafed60e58e to your computer and use it in GitHub Desktop.
Docker compose file
version: "2"
services:
redis:
image: redis
ports:
- "6379:6379"
memcached:
image: memcached
ports:
- "11211:11211"
elasticsearch:
image: elasticsearch:2.4
ports:
- "9200:9200"
volumes:
- $PWD/data/elastic_data:/usr/share/elasticsearch/data
postgres:
image: postgres:9.6
ports:
- "5432:5432"
volumes:
- $PWD/data/pg_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment