Skip to content

Instantly share code, notes, and snippets.

@regme
Created October 15, 2019 21:53
Show Gist options
  • Save regme/e566edad37235d6b104378789c2d7078 to your computer and use it in GitHub Desktop.
Save regme/e566edad37235d6b104378789c2d7078 to your computer and use it in GitHub Desktop.
Local Development Environment
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.0
restart: always
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
- network.publish_host=127.0.0.1
- transport.publish_port=9200
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- development
kibana:
image: docker.elastic.co/kibana/kibana:6.3.0
restart: always
environment:
SERVER_NAME: kibana
ELASTICSEARCH_URL: http://elasticsearch:9200
ports:
- 5601:5601
networks:
- development
mongo:
image: mongo:3.2
restart: always
ports:
- 27017:27017
networks:
- development
mongo-express:
image: mongo-express
restart: always
ports:
- 15081:8081
networks:
- development
rabbit:
image: rabbitmq:3-management
restart: always
ports:
- 4369:4369
- 5671:5671
- 5672:5672
- 15671:15671
- 15672:15672
- 25672:25672
volumes:
esdata1:
driver: local
networks:
development:
@regme
Copy link
Author

regme commented Oct 15, 2019

Download and put into directory LocalDev
docker-compose up -d

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