diff options
author | Kerstin Humm <kerstin@erictapen.name> | 2021-08-31 15:46:47 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-08-12 15:45:48 -0700 |
commit | 60b6ad6f3789dea667332a31050fbd93a453a157 (patch) | |
tree | 9b115c5221cc472e30a2c86faa04f2b9926c73a7 /nixos | |
parent | c94200e87f087be31c8e923d30a15cf9c754ef31 (diff) |
nixos/neo4j: set some settings so warnings at startup disappear
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/databases/neo4j.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/neo4j.nix b/nixos/modules/services/databases/neo4j.nix index 61f7cf6cc2531..5e13c1d0622d5 100644 --- a/nixos/modules/services/databases/neo4j.nix +++ b/nixos/modules/services/databases/neo4j.nix @@ -37,7 +37,7 @@ let # General dbms.allow_upgrade=${boolToString cfg.allowUpgrade} 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) '' dbms.threads.worker_count=${toString cfg.workerCount} ''} @@ -60,6 +60,7 @@ let ${optionalString (cfg.http.enable) '' dbms.connector.http.enabled=${boolToString cfg.https.enable} dbms.connector.http.listen_address=${cfg.http.listenAddress} + dbms.connector.http.advertised_address=${cfg.http.listenAddress} ''} ${optionalString (!cfg.http.enable) '' # It is not possible to disable the HTTP connector. To fully prevent @@ -72,10 +73,12 @@ let # HTTPS Connector dbms.connector.https.enabled=${boolToString cfg.https.enable} dbms.connector.https.listen_address=${cfg.https.listenAddress} + dbms.connector.https.advertised_address=${cfg.https.listenAddress} # BOLT Connector dbms.connector.bolt.enabled=${boolToString cfg.bolt.enable} dbms.connector.bolt.listen_address=${cfg.bolt.listenAddress} + dbms.connector.bolt.advertised_address=${cfg.bolt.listenAddress} dbms.connector.bolt.tls_level=${cfg.bolt.tlsLevel} # SSL Policies |