Skip to content

Instantly share code, notes, and snippets.

@lucax88x
Created October 15, 2017 16:04
Show Gist options
  • Save lucax88x/779445e43db2fa5fa0c9d96b9c1c5abd to your computer and use it in GitHub Desktop.
Save lucax88x/779445e43db2fa5fa0c9d96b9c1c5abd to your computer and use it in GitHub Desktop.
version: '3'
volumes:
pgdata:
esdata:
redisdata:
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:5.6.1"
ports:
- "9200:9200"
- "9300:9300"
environment:
discovery.type: single-node
redis:
image: "redis"
volumes:
- redisdata:/var/lib/redis
ports:
- "6379:6379"
sql:
image: "postgres"
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "Password6."
POSTGRES_DB: "memore"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment