Permalink
Browse files

Updated docker file to use the open source licensed Neo4j Enterprise …

…binaries instead of the commercial ones.
  • Loading branch information...
jmsuhy committed Jan 18, 2018
1 parent 5ee6d6e commit 1575fd5b65666a3e7217707d108ced39d5c0f75b
Showing with 9 additions and 14 deletions.
  1. +9 −14 docker-compose.yml
@@ -6,7 +6,7 @@ networks:
services:

core1:
image: neo4j:3.3.1-enterprise
image: igov/neo4j:3.3.1-enterprise
networks:
- lan
ports:
@@ -21,16 +21,15 @@ services:
environment:
# - NEO4J_AUTH=none
- NEO4J_AUTH=neo4j/changeme
- NEO4J_dbms_mode=CORE
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_dbms_mode=CORE
- NEO4J_causalClustering_expectedCoreClusterSize=3
- NEO4J_causalClustering_initialDiscoveryMembers=core1:5000,core2:5000,core3:5000
- NEO4J_dbms_connector_http_listen__address=:7474
- NEO4J_dbms_connector_https_listen__address=:6477
- NEO4J_dbms_connector_bolt_listen__address=:7687

core2:
image: neo4j:3.3.1-enterprise
image: igov/neo4j:3.3.1-enterprise
networks:
- lan
ports:
@@ -44,16 +43,15 @@ services:
- $HOME/neo4j/neo4j-core1/plugins:/plugins
environment:
- NEO4J_AUTH=neo4j/changeme
- NEO4J_dbms_mode=CORE
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_dbms_mode=CORE
- NEO4J_causalClustering_expectedCoreClusterSize=3
- NEO4J_causalClustering_initialDiscoveryMembers=core1:5000,core2:5000,core3:5000
- NEO4J_dbms_connector_http_listen__address=:7475
- NEO4J_dbms_connector_https_listen__address=:6478
- NEO4J_dbms_connector_bolt_listen__address=:7688

core3:
image: neo4j:3.3.1-enterprise
image: igov/neo4j:3.3.1-enterprise
networks:
- lan
ports:
@@ -68,15 +66,14 @@ services:
environment:
- NEO4J_AUTH=neo4j/changeme
- NEO4J_dbms_mode=CORE
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_causalClustering_expectedCoreClusterSize=3
- NEO4J_causalClustering_initialDiscoveryMembers=core1:5000,core2:5000,core3:5000
- NEO4J_dbms_connector_http_listen__address=:7476
- NEO4J_dbms_connector_https_listen__address=:6479
- NEO4J_dbms_connector_bolt_listen__address=:7689

read1:
image: neo4j:3.3.1-enterprise
image: igov/neo4j:3.3.1-enterprise
networks:
- lan
ports:
@@ -90,16 +87,15 @@ services:
- $HOME/neo4j/neo4j-core1/plugins:/plugins
environment:
- NEO4J_AUTH=neo4j/changeme
- NEO4J_dbms_mode=READ_REPLICA
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_dbms_mode=READ_REPLICA
- NEO4J_causalClustering_initialDiscoveryMembers=core1:5000,core2:5000,core3:5000
- NEO4J_dbms_connector_http_listen__address=:7477
- NEO4J_dbms_connector_https_listen__address=:6480
- NEO4J_dbms_connector_bolt_listen__address=:7690

# This core demonstrates that additional instances can be added after the initial core is established (ie: this instance is nost listed within "initialDiscoveryMembers")
core4:
image: neo4j:3.3.1-enterprise
image: igov/neo4j:3.3.1-enterprise
networks:
- lan
ports:
@@ -113,8 +109,7 @@ services:
- $HOME/neo4j/neo4j-core1/plugins:/plugins
environment:
- NEO4J_AUTH=neo4j/changeme
- NEO4J_dbms_mode=CORE
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_dbms_mode=CORE
# - NEO4J_causalClustering_expectedCoreClusterSize=3
- NEO4J_causalClustering_initialDiscoveryMembers=core1:5000,core2:5000,core3:5000
- NEO4J_dbms_connector_http_listen__address=:7478

0 comments on commit 1575fd5

Please sign in to comment.