This repository contains a few compose files to quickly fire up various configurations.
All configurations create files beneath $HOME/tmp/docker/
, with each configuration in its own directory structure.
Defines a simple causal cluster with 3 cores and 1 read replica. No default database defined, so will fall back to default 'neo4j'. APOC is included.
-
Browser URL: http://localhost:7474
-
Bolt: neo4j://localhost:7687
-
User: neo4j
-
Password: changeme
Same as the above, but with self-signed ssl certificates. See the compose file for details.
Starts a single Neo4j 4. 0 instance with Fabric enabled. The Fabric database name is example
. This setup follows the Development setup example in the operations manual.
-
Browser URL: http://localhost:7474
-
Bolt: neo4j://localhost:7687
-
User: neo4j
-
Password: changeme
Database db1
is created as default database. db2
needs to be created via
:use system
create database db2
The availability of db2
can be checked with show databases
.
Starts a causal cluster with 3 cores and 2 Fabric instances, as described in Cluster setup with no single point of failure example in the operations manual. The ports divert slightly as to avoid port clashes (all run on localhost). .
Database db1
is created as default database. db2
and db3
need to be created via
:use system
create database db2
create database db3
Not all ports of the contained instances are available on the docker host. The HTTP port of Server1
is passed to the host, so that the Neo4j browser can be reached. From there, all Bolt ports are available.
For a visual description of the port mapping see
-
Browser URL: http://localhost:47474/ or http://localhost:57474/
-
Bolt (Fabric): neo4j://localhost:47687 or neo4j://localhost:57687
-
Bolt (Cluster): these are only needed to administer the cluster databases
-
neo4j://localhost:17687 or
-
neo4j://localhost:27687 or
-
neo4j://localhost:37687
-
-
User: neo4j
-
Password: changeme