docker compose for neo4j setup
This commit is contained in:
parent
90bff7c1d6
commit
5f84621485
1 changed files with 23 additions and 0 deletions
|
|
@ -11,3 +11,26 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
|
||||
neo4j:
|
||||
image: neo4j:5.26.4-community
|
||||
container_name: lightrag-server_neo4j-community
|
||||
restart: always
|
||||
ports:
|
||||
- "7474:7474"
|
||||
- "7687:7687"
|
||||
environment:
|
||||
- NEO4J_AUTH=${NEO4J_USERNAME}/${NEO4J_PASSWORD}
|
||||
- NEO4J_apoc_export_file_enabled=true
|
||||
- NEO4J_server_bolt_listen__address=0.0.0.0:7687
|
||||
- NEO4J_server_bolt_advertised__address=neo4j:7687
|
||||
volumes:
|
||||
- ./neo4j/plugins:/var/lib/neo4j/plugins
|
||||
- lightrag_neo4j_import:/var/lib/neo4j/import
|
||||
- lightrag_neo4j_data:/data
|
||||
- lightrag_neo4j_backups:/backups
|
||||
|
||||
volumes:
|
||||
lightrag_neo4j_import:
|
||||
lightrag_neo4j_data:
|
||||
lightrag_neo4j_backups:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue