mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #996] Document postgres setup #706
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#706
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cromefire on GitHub (May 13, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/996
From the code and some issues it seems that postgres is supported, but in the wiki I couldn't find any info regarding it.
It would be good if there could be like 2 sentences be added about postgres somewhere, like:
(Assuming it's as easy as that)
@djmattyg007 commented on GitHub (May 16, 2020):
My understanding is that support for the specific database you want to use has to be baked in at compile-time.
I think it would help a great deal to start getting this packaged by distros if support could just be controlled via configuration.
@cromefire commented on GitHub (May 16, 2020):
So I found
bitwardenrs/server-postgres, and from the diesel docs I gathered that prepending the fullpostgresqlis correct, and that actually worked, so it just needs some documentation@jpeeler commented on GitHub (Aug 13, 2020):
Doesn't look like "pgsql" will work: https://github.com/dani-garcia/bitwarden_rs/pull/1044. I used this with all of the fields specified:
DATABASE_URL='postgresql://[[user]:[password]@]host[:port][/database]'@cromefire commented on GitHub (Aug 13, 2020):
Yeah see my last comment, but it would be good if it was documented somewhere or if there was at least a link to the diesel docs
@jjlin commented on GitHub (Aug 13, 2020):
I leave it to an actual PostgreSQL user to write more comprehensive docs on the wiki, but #1095 should provide the basics.
@cromefire commented on GitHub (Aug 13, 2020):
Yeah that's sufficient
@BlackDex commented on GitHub (Oct 8, 2020):
Those changes together with this fresh wiki page, https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-PostgreSQL-Backend , should be enough. Closing this ticket.