From bd458f8702834447135362d6fdaf34b9168079fa Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 19 Dec 2024 12:09:53 +0900 Subject: [PATCH] Clarify NBXplorer connection string settings --- docs/Deployment/ManualDeploymentExtended.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/Deployment/ManualDeploymentExtended.md b/docs/Deployment/ManualDeploymentExtended.md index 8c37e6653a..e6125588f2 100644 --- a/docs/Deployment/ManualDeploymentExtended.md +++ b/docs/Deployment/ManualDeploymentExtended.md @@ -840,13 +840,6 @@ Updating could break things. Be careful on a live system. ~$ sudo systemctl start nbxplorer ``` -##### Migration - -With BTCPay Server v1.5 we [improved NBXplorer by switching to Postgres](https://blog.btcpayserver.org/nbxplorer-postgres/). -If you are still using the DBTrie based version, please consider [migrating NBXplorer](https://github.com/dgarage/NBXplorer/blob/master/docs/Postgres-Migration.md). - -Afterwards you need to set `BTCPAY_EXPLORERPOSTGRES` to the same connection string as NBXplorer. - ## BTCPay Server Like NBXplorer the BTCPay Server application is also .NET Core. The install steps assume .NET Core was previosuly installed. @@ -906,6 +899,8 @@ explorer.postgres=User ID=nbxplorer;Password=urpassword;Application Name=nbxplor ~$ sudo chmod 644 /etc/btcpay/btcpay.config ``` +Alternatively, you can start BTCPay Server using a configuration file, environment variables (`BTCPAY_EXPLORERPOSTGRES` and `BTCPAY_POSTGRES`), or command-line arguments (`--explorerpostgres` and `--postgres`). + ##### 4. Create a systemd service An example **systemd service** file is shown below. Adjust the paths, User and Group accordingly.