Module

Running Neo4j and Clusters with Docker

In this module, you will run Neo4j in Docker and grow a single container into a working cluster. You will start at the command line with one instance, then scale up to three primaries and two secondaries and operate the cluster through a failure.

This module covers:

  • The Neo4j Docker image, its ports, authentication, and data volumes
  • The NEO4J_ environment-variable naming convention for configuration
  • How primaries, secondaries, and Raft consensus form a cluster
  • The discovery, cluster, and Raft ports that let members find each other
  • Inspecting topology with SHOW SERVERS and dbms.cluster.overview()
  • How reads and writes route, and how the cluster survives losing a primary
Ready, let's go!