Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/3.0/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@ 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"}

# unset old hardcoded unsupported env variables
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 \;
Expand Down
5 changes: 3 additions & 2 deletions src/3.1/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand All @@ -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 \;
Expand Down
5 changes: 3 additions & 2 deletions src/3.2/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand All @@ -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 \;
Expand Down
5 changes: 3 additions & 2 deletions src/3.3/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand All @@ -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}
Expand Down