Created
December 8, 2019 11:08
-
-
Save ganeshan/627f74fdb24fc0f7f263bae50be7b831 to your computer and use it in GitHub Desktop.
elasticsearch docker
This file contains hidden or 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: "2" | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.5.0 | |
| container_name: elasticsearch | |
| ports: | |
| - "9200:9200" | |
| - "9300:9300" | |
| volumes: | |
| - esdata:/usr/share/elasticsearch/data | |
| - esbackup:/backup | |
| networks: | |
| - esnetwork | |
| environment: | |
| ES_JAVA_OPTS: "-Xmx4g -Xms2g" | |
| discovery.type: "single-node" | |
| http.port: 9200 | |
| http.cors.allow-origin: http://dejavu:1358,http://127.0.0.1:1358,http://localhost:1358 | |
| http.cors.enabled: "true" | |
| http.cors.allow-headers: X-Requested-With,X-Search-State,X-Auth-Token,Content-Type,Content-Length,Authorization | |
| http.cors.allow-credentials: "true" | |
| kibana: | |
| image: docker.elastic.co/kibana/kibana:7.5.0 | |
| container_name: kibana | |
| ports: | |
| - "5601:5601" | |
| networks: | |
| - esnetwork | |
| depends_on: | |
| - elasticsearch | |
| elasticsearchhq: | |
| image: elastichq/elasticsearch-hq | |
| container_name: elasticsearchhq | |
| ports: | |
| - "5000:5000" | |
| networks: | |
| - esnetwork | |
| environment: | |
| HQ_DEFAULT_URL: "http://elasticsearch:9200" | |
| depends_on: | |
| - elasticsearch | |
| cerebro: | |
| image: lmenezes/cerebro | |
| container_name: cerebro | |
| ports: | |
| - "9000:9000" | |
| networks: | |
| - esnetwork | |
| depends_on: | |
| - elasticsearch | |
| dejavu: | |
| image: appbaseio/dejavu | |
| container_name: dejavu | |
| ports: | |
| - "1358:1358" | |
| networks: | |
| - esnetwork | |
| depends_on: | |
| - elasticsearch | |
| volumes: | |
| esdata: | |
| driver: local | |
| esbackup: | |
| driver: local | |
| networks: | |
| esnetwork: | |
| driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment