Download mirror

docker search neo4j

Copy the code
Download the latest version

docker pull neo4j

Copy the code

Run the image (optional)

Run the following command directly

docker run -d -p 7474:7474 -p 7687:7687 -v /Users/moti/Environment/Docker/Neo4j/data:/data -v /Users/moti/Environment/Docker/Neo4j/logs:/logs -v /Users/moti/Environment/Docker/Neo4j/conf:/var/lib/neo4j/conf -v /Users/moti/Environment/Docker/Neo4j/import:/var/lib/neo4j/import --env NEO4J_AUTH=neo4j/123456 --name neo4j neo4j

Copy the code
Docker-compose: docker-compose: docker-compose: docker-compose: docker-compose: docker-compose: docker-compose: docker-compose

version: "3.5"



services:

  neo4j:

    container_name: test

    image: neo4j

    ports:

    - "7474:7474"

    - "7687:7687"

    volumes:

    - /Users/moti/Environment/Docker/Neo4j/data:/data

    - /Users/moti/Environment/Docker/Neo4j/logs:/logs

    - /Users/moti/Environment/Docker/Neo4j/conf:/var/lib/neo4j/conf

    - /Users/moti/Environment/Docker/Neo4j/import:/var/lib/neo4j/import

    environment:

      NEO4J_AUTH: neo4j/123456

Copy the code

You’re done

Access localhost: 7474

Enter the password configured above to log in successfully.