Created
February 26, 2019 03:10
-
-
Save jinnabaalu/05ef90bc3234ad11e29f6abf23222cad to your computer and use it in GitHub Desktop.
elasticsearch 6.6.* simple compose with volume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0 | |
container_name: elasticsearch | |
volumes: | |
- /var/db/data/elasticsearch:/usr/share/elasticsearch | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
environment: | |
ES_JAVA_OPTS: '-Xms256m -Xmx256m' | |
network.bind_host: 0.0.0.0 | |
network.host: 0.0.0.0 | |
discovery.type: single-node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment