Skip to content

Commit

Permalink
Merge pull request #1471 from NicolasDorier/nbxplorerstr
Browse files Browse the repository at this point in the history
Clarify NBXplorer connection string settings
  • Loading branch information
pavlenex authored Dec 19, 2024
2 parents 27a6e6a + bd458f8 commit 9053f03
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/Deployment/ManualDeploymentExtended.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9053f03

Please sign in to comment.