For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to run Neo4j?

This page explains how to run a Neo4j instance inside docker. For any additional information please refer to the Neo4j documentation: https://neo4j.com/docs/getting-started/

Run Neo4j inside docker

1. Enrich the services section of the docker-compose.yml of the install with Docker page, with the following Neo4j service:

...
services:
    neo4j:
      image: neo4j:5-community
      environment:
        NEO4J_AUTH: none
        NEO4J_PLUGINS: '["apoc"]'
      ports:
        - 7474:7474
        - 7687:7687
      volumes:
        - neo4j_conf:/var/lib/neo4j/conf
        - neo4j_data:/var/lib/neo4j/data

Make sure not to forget the APOC plugin (NEO4J_PLUGINS: '["apoc"]').

2. Enrich the volumes section of the docker-compose.yml of the install with Docker page, with the following Neo4j volumes:

volumes:
  ...
  neo4j_data:
    driver: local
  neo4j_conf:
    driver: local

3. Start the neo4j service using:

Run Neo4j Desktop

  1. Install with Neo4j Desktop, follow installation instructions found here

  2. Create a new local DBMS and save your password for later

  3. If the installer notifies you of any ports modification, check the DBMS settings and save the server.bolt.listen_address for later

  4. Make sure to install the APOC Plugin

Additional options

Additional options to install Neo4j are listed here.

Last updated