mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
use 'postgres' driver (not postgresql). Include plain url to guide, as link is broken on RTD.
This commit is contained in:
parent
ce9232af37
commit
fd8b667e6a
@ -394,13 +394,13 @@ it just gains the option to use a PostgreSQL database as well.
|
||||
If you just want to use PostgreSQL without using a cluster (for
|
||||
example, as an initial test without risking any significant funds),
|
||||
then after setting up a PostgreSQL database, you just need to add
|
||||
`--wallet=postgresql://${USER}:${PASSWORD}@${HOST}:${PORT}/${DB}`
|
||||
`--wallet=postgres://${USER}:${PASSWORD}@${HOST}:${PORT}/${DB}`
|
||||
to your `lightningd` config or invocation.
|
||||
|
||||
To set up a cluster for a brand new node, follow this (external)
|
||||
[guide by @gabridome][gabridomeguide].
|
||||
|
||||
[gabridomeguide]: https://github.com/gabridome/docs/blob/master/c-lightning_with_postgresql_reliability.md
|
||||
[gabridomeguide]: https://bit.ly/3KffmN3
|
||||
|
||||
The above guide assumes you are setting up a new node from scratch.
|
||||
It is also specific to PostgreSQL 12, and setting up for other versions
|
||||
|
Loading…
Reference in New Issue
Block a user