arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

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/)

hashtag
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:

make sure not to forget the APOC pluginarrow-up-right (NEO4J_PLUGINS: '["apoc"]').

2. enrich the volumes section of the docker-compose.yml of the page, with the following neo4j volumes:

3. Start the neo4j service using:

hashtag
Run Neo4j Desktop

  1. install with , follow installation instructions found

  2. and save your password for later

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

hashtag
Additional options

Additional options to install neo4j are .

...
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 to install the

install with Docker
Neo4j Desktoparrow-up-right
herearrow-up-right
create a new local DBMSarrow-up-right
DBMS settingsarrow-up-right
listed herearrow-up-right
volumes:
  ...
  neo4j_data:
    driver: local
  neo4j_conf:
    driver: local
docker compose up -d neo4j
APOC Pluginarrow-up-right