diff --git a/src/3.0/docker-entrypoint.sh b/src/3.0/docker-entrypoint.sh index 722e4133..aecd0ee4 100755 --- a/src/3.0/docker-entrypoint.sh +++ b/src/3.0/docker-entrypoint.sh @@ -43,7 +43,7 @@ if [ "$1" == "neo4j" ]; then : ${NEO4J_dbms_connector_http_address:="0.0.0.0:7474"} : ${NEO4J_dbms_connector_https_address:="0.0.0.0:7473"} - : ${NEO4J_dbms_connector_bolt_address:="0.0.0.0:7687"} + : ${NEO4J_dbms_connector_bolt_address:=${NEO4J_dbms_connector_bolt_listenAddress:-"0.0.0.0:7687"}} : ${NEO4J_ha_host_coordination:="$(hostname):5001"} : ${NEO4J_ha_host_data:="$(hostname):6001"} @@ -51,7 +51,8 @@ if [ "$1" == "neo4j" ]; then unset NEO4J_dbms_txLog_rotation_retentionPolicy NEO4J_UDC_SOURCE \ NEO4J_dbms_memory_heap_maxSize NEO4J_dbms_memory_heap_maxSize \ NEO4J_dbms_unmanagedExtensionClasses NEO4J_dbms_allowFormatMigration \ - NEO4J_ha_initialHosts + NEO4J_ha_initialHosts \ + NEO4J_dbms_connector_bolt_listenAddress if [ -d /conf ]; then find /conf -type f -exec cp {} conf \; diff --git a/src/3.1/docker-entrypoint.sh b/src/3.1/docker-entrypoint.sh index 1fac31e9..2e17fcfb 100755 --- a/src/3.1/docker-entrypoint.sh +++ b/src/3.1/docker-entrypoint.sh @@ -33,7 +33,7 @@ if [ "$1" == "neo4j" ]; then : ${NEO4J_dbms_connectors_default__listen__address:="0.0.0.0"} : ${NEO4J_dbms_connector_http_listen__address:="0.0.0.0:7474"} : ${NEO4J_dbms_connector_https_listen__address:="0.0.0.0:7473"} - : ${NEO4J_dbms_connector_bolt_listen__address:="0.0.0.0:7687"} + : ${NEO4J_dbms_connector_bolt_listen__address:=${NEO4J_dbms_connector_bolt_listenAddress:-"0.0.0.0:7687"}} : ${NEO4J_ha_host_coordination:="$(hostname):5001"} : ${NEO4J_ha_host_data:="$(hostname):6001"} @@ -49,7 +49,8 @@ if [ "$1" == "neo4j" ]; then NEO4J_causalClustering_transactionListenAddress \ NEO4J_causalClustering_transactionAdvertisedAddress \ NEO4J_causalClustering_raftListenAddress \ - NEO4J_causalClustering_raftAdvertisedAddress + NEO4J_causalClustering_raftAdvertisedAddress \ + NEO4J_dbms_connector_bolt_listenAddress if [ -d /conf ]; then find /conf -type f -exec cp {} conf \; diff --git a/src/3.2/docker-entrypoint.sh b/src/3.2/docker-entrypoint.sh index 1fac31e9..2e17fcfb 100755 --- a/src/3.2/docker-entrypoint.sh +++ b/src/3.2/docker-entrypoint.sh @@ -33,7 +33,7 @@ if [ "$1" == "neo4j" ]; then : ${NEO4J_dbms_connectors_default__listen__address:="0.0.0.0"} : ${NEO4J_dbms_connector_http_listen__address:="0.0.0.0:7474"} : ${NEO4J_dbms_connector_https_listen__address:="0.0.0.0:7473"} - : ${NEO4J_dbms_connector_bolt_listen__address:="0.0.0.0:7687"} + : ${NEO4J_dbms_connector_bolt_listen__address:=${NEO4J_dbms_connector_bolt_listenAddress:-"0.0.0.0:7687"}} : ${NEO4J_ha_host_coordination:="$(hostname):5001"} : ${NEO4J_ha_host_data:="$(hostname):6001"} @@ -49,7 +49,8 @@ if [ "$1" == "neo4j" ]; then NEO4J_causalClustering_transactionListenAddress \ NEO4J_causalClustering_transactionAdvertisedAddress \ NEO4J_causalClustering_raftListenAddress \ - NEO4J_causalClustering_raftAdvertisedAddress + NEO4J_causalClustering_raftAdvertisedAddress \ + NEO4J_dbms_connector_bolt_listenAddress if [ -d /conf ]; then find /conf -type f -exec cp {} conf \; diff --git a/src/3.3/docker-entrypoint.sh b/src/3.3/docker-entrypoint.sh index 0daf9d8e..254739d4 100755 --- a/src/3.3/docker-entrypoint.sh +++ b/src/3.3/docker-entrypoint.sh @@ -33,7 +33,7 @@ if [ "$1" == "neo4j" ]; then : ${NEO4J_dbms_connectors_default__listen__address:="0.0.0.0"} : ${NEO4J_dbms_connector_http_listen__address:="0.0.0.0:7474"} : ${NEO4J_dbms_connector_https_listen__address:="0.0.0.0:7473"} - : ${NEO4J_dbms_connector_bolt_listen__address:="0.0.0.0:7687"} + : ${NEO4J_dbms_connector_bolt_listen__address:=${NEO4J_dbms_connector_bolt_listenAddress:-"0.0.0.0:7687"}} : ${NEO4J_ha_host_coordination:="$(hostname):5001"} : ${NEO4J_ha_host_data:="$(hostname):6001"} @@ -49,7 +49,8 @@ if [ "$1" == "neo4j" ]; then NEO4J_causalClustering_transactionListenAddress \ NEO4J_causalClustering_transactionAdvertisedAddress \ NEO4J_causalClustering_raftListenAddress \ - NEO4J_causalClustering_raftAdvertisedAddress + NEO4J_causalClustering_raftAdvertisedAddress \ + NEO4J_dbms_connector_bolt_listenAddress # Custom settings for dockerized neo4j : ${NEO4J_dbms_tx__log_rotation_retention__policy:=100M size}