add
This commit is contained in:
@@ -22,6 +22,7 @@ services:
|
||||
- PYTHONUNBUFFERED=1 # Ensures Python output is sent straight to terminal
|
||||
depends_on:
|
||||
- ollama
|
||||
- neo4j
|
||||
# ollama:
|
||||
# condition: service_healthy
|
||||
|
||||
@@ -43,6 +44,29 @@ services:
|
||||
- "11434:11434"
|
||||
# profiles: ["gpu"]
|
||||
|
||||
|
||||
neo4j:
|
||||
image: neo4j:5.26.4
|
||||
networks:
|
||||
- mem0_network
|
||||
# healthcheck:
|
||||
# test: wget http://localhost:7687 || exit 1
|
||||
# interval: 1s
|
||||
# timeout: 10s
|
||||
# retries: 20
|
||||
# start_period: 90s
|
||||
ports:
|
||||
- "8474:7474" # HTTP
|
||||
- "8687:7687" # Bolt
|
||||
volumes:
|
||||
- ./data/neo4j_data:/data
|
||||
environment:
|
||||
- NEO4J_AUTH=neo4j/mem0graph
|
||||
- NEO4J_PLUGINS=["apoc"] # Add this line to install APOC
|
||||
- NEO4J_apoc_export_file_enabled=true
|
||||
- NEO4J_apoc_import_file_enabled=true
|
||||
- NEO4J_apoc_import_file_use__neo4j__config=true
|
||||
|
||||
volumes:
|
||||
ollama_data: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user