26 lines
663 B
YAML
Executable File
26 lines
663 B
YAML
Executable File
version: '3.8'
|
|
|
|
services:
|
|
neo4j:
|
|
image: neo4j:5.15.0-community
|
|
container_name: neo4j-gene-family
|
|
ports:
|
|
- "7474:7474" # HTTP
|
|
- "7687:7687" # Bolt
|
|
environment:
|
|
- NEO4J_AUTH=${NEO4J_USER:-neo4j}/${NEO4J_PASSWORD:?Set NEO4J_PASSWORD in .env}
|
|
- NEO4J_PLUGINS=["apoc"]
|
|
- NEO4J_dbms_memory_heap_max__size=2G
|
|
- NEO4J_dbms_memory_pagecache_size=1G
|
|
volumes:
|
|
- ./data/neo4j/data:/data
|
|
- ./data/neo4j/logs:/logs
|
|
- ./data/neo4j/import:/var/lib/neo4j/import
|
|
- ./data/neo4j/plugins:/plugins
|
|
restart: unless-stopped
|
|
user: "7474:7474"
|
|
|
|
networks:
|
|
default:
|
|
name: gene-family-network
|