Updating AAF certs
[aai/test-config.git] / docker-compose-db.yml
index 24024d0..dd9705c 100644 (file)
@@ -8,6 +8,8 @@ services:
       - 7001:7001
       - 7199:7199
       - 9042:9042
+      - 9160:9160
+    network_mode: "host"
     environment:
       - CASSANDRA_SEEDS=aai.hbase.simpledemo.onap.org
       - CASSANDRA_DC=Heat
@@ -19,13 +21,15 @@ services:
         max-size: "30m"
         max-file: "5"
   aai.elasticsearch.simpledemo.openecomp.org:
-    image: elasticsearch:2.4.1
+    image: docker.elastic.co/elasticsearch/elasticsearch:6.1.2
     hostname: aai.elasticsearch.simpledemo.openecomp.org
     container_name: elasticsearch
     ports:
       - "9200:9200"
     volumes:
       - /opt/test-config/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
+      - /opt/test-config/elasticsearch/config/jvm.options:/usr/share/elasticsearch/config/jvm.options
+      - /opt/test-config/elasticsearch/config/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties
       - es-data:/usr/share/elasticsearch/data
     logging:
       driver: "json-file"