nixos/neo4j: set some settings so warnings at startup disappear

This commit is contained in:
Kerstin Humm 2021-08-31 15:46:47 +02:00 committed by Jonathan Ringer
parent c94200e87f
commit 60b6ad6f37

View file

@ -37,7 +37,7 @@ let
# General # General
dbms.allow_upgrade=${boolToString cfg.allowUpgrade} dbms.allow_upgrade=${boolToString cfg.allowUpgrade}
dbms.default_listen_address=${cfg.defaultListenAddress} dbms.default_listen_address=${cfg.defaultListenAddress}
dbms.read_only=${boolToString cfg.readOnly} dbms.databases.default_to_read_only=${boolToString cfg.readOnly}
${optionalString (cfg.workerCount > 0) '' ${optionalString (cfg.workerCount > 0) ''
dbms.threads.worker_count=${toString cfg.workerCount} dbms.threads.worker_count=${toString cfg.workerCount}
''} ''}
@ -60,6 +60,7 @@ let
${optionalString (cfg.http.enable) '' ${optionalString (cfg.http.enable) ''
dbms.connector.http.enabled=${boolToString cfg.https.enable} dbms.connector.http.enabled=${boolToString cfg.https.enable}
dbms.connector.http.listen_address=${cfg.http.listenAddress} dbms.connector.http.listen_address=${cfg.http.listenAddress}
dbms.connector.http.advertised_address=${cfg.http.listenAddress}
''} ''}
${optionalString (!cfg.http.enable) '' ${optionalString (!cfg.http.enable) ''
# It is not possible to disable the HTTP connector. To fully prevent # It is not possible to disable the HTTP connector. To fully prevent
@ -72,10 +73,12 @@ let
# HTTPS Connector # HTTPS Connector
dbms.connector.https.enabled=${boolToString cfg.https.enable} dbms.connector.https.enabled=${boolToString cfg.https.enable}
dbms.connector.https.listen_address=${cfg.https.listenAddress} dbms.connector.https.listen_address=${cfg.https.listenAddress}
dbms.connector.https.advertised_address=${cfg.https.listenAddress}
# BOLT Connector # BOLT Connector
dbms.connector.bolt.enabled=${boolToString cfg.bolt.enable} dbms.connector.bolt.enabled=${boolToString cfg.bolt.enable}
dbms.connector.bolt.listen_address=${cfg.bolt.listenAddress} dbms.connector.bolt.listen_address=${cfg.bolt.listenAddress}
dbms.connector.bolt.advertised_address=${cfg.bolt.listenAddress}
dbms.connector.bolt.tls_level=${cfg.bolt.tlsLevel} dbms.connector.bolt.tls_level=${cfg.bolt.tlsLevel}
# SSL Policies # SSL Policies