| services: |
| neo4j: |
| image: neo4j:5.15.0-community |
| container_name: activa_graph_db |
| ports: |
| - "7474:7474" |
| - "7687:7687" |
| environment: |
| - NEO4J_AUTH=neo4j/activa_semantic_lab |
| |
| - NEO4J_PLUGINS=["apoc", "graph-data-science"] |
| |
| - NEO4J_dbms_security_procedures_unrestricted=n10s.*,apoc.* |
| - NEO4J_dbms_security_procedures_allowlist=n10s.*,apoc.*,gds.* |
| |
| - NEO4J_dbms_memory_heap_initial__size=1G |
| - NEO4J_dbms_memory_heap_max__size=2G |
| volumes: |
| |
| - ./neo4j/data:/data |
| - ./neo4j/plugins:/plugins |
| healthcheck: |
| test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider localhost:7474 || exit 1"] |
| interval: 10s |
| timeout: 5s |
| retries: 5 |