--- a/docker-compose.yml Tue Jun 05 11:34:52 2018 +0200
+++ b/docker-compose.yml Tue Jun 05 18:36:39 2018 +0200
@@ -3,15 +3,17 @@
services:
elasticsearch:
- image: elasticsearch:1.7-alpine
+ image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
environment:
- - "transport.host=127.0.0.1"
- - "http.cors.enabled=true"
- - "http.cors.allow-origin=*"
- - "http.cors.allow-headers=Authorization"
+ # - "transport.host=127.0.0.1"
+ # - "http.cors.enabled=true"
+ # - "http.cors.allow-origin=*"
+ # - "http.cors.allow-headers=Authorization"
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
+ - "discovery.type=single-node"
ports:
- 9200:9200
+ - 9300:9300
volumes:
- /usr/share/elasticsearch/data
@@ -22,3 +24,4 @@
volumes:
- /var/lib/postgresql/data
+