Unverified Commit d2b22afd authored by Madison Bowden's avatar Madison Bowden Committed by GitHub

feat: Add persistent volumes for Neo4J, Elasticsearch in docker-compose (#699)

Signed-off-by: 's avatarTao Feng <fengtao04@gmail.com>
parent 14c224cf
......@@ -16,6 +16,7 @@ services:
- ./example/docker/neo4j/conf:/conf
- ./example/docker/neo4j/plugins:/plugins
- ./example/backup:/backup
- neo4j_data:/neo4j/data
networks:
- amundsennet
elasticsearch:
......@@ -23,10 +24,8 @@ services:
container_name: es_amundsen
ports:
- 9200:9200
# TODO - tried mounting ES data outside the volume.
# Not confident I did it right, I saw it acting up on restarts, plz halp!
# volumes:
# - ./example/docker/es_data:/usr/share/elasticsearch/data
volumes:
- es_data:/usr/share/elasticsearch/data
networks:
- amundsennet
ulimits:
......@@ -79,3 +78,7 @@ services:
networks:
amundsennet:
volumes:
es_data:
neo4j_data:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment