Skip to content

Instantly share code, notes, and snippets.

@heypoom
Created April 19, 2018 18:19
Show Gist options
  • Save heypoom/845171b10c381f12b5e344f1f32802b0 to your computer and use it in GitHub Desktop.
Save heypoom/845171b10c381f12b5e344f1f32802b0 to your computer and use it in GitHub Desktop.
version: '3.6'
services:
postgresql:
image: postgres:latest
volumes:
- ./storage/postgresql:/var/lib/postgresql/data
ports:
- 5432:5432
redis:
image: redis:alpine
volumes:
- ./storage/redis:/data
ports:
- 6379:6379
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
volumes:
- ./storage/elasticsearch:/data
environment:
ELASTIC_PASSWORD: 123456
discovery.type: single-node
ports:
- 9200:9200
- 9300:9300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment