mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-16 20:50:33 +00:00
I was confused with the brackets, so I looked up an example on diesel directly. To omit that for future seekers, I provided an example.
@@ -6,6 +6,8 @@ To run the binary or container ensure the ```DATABASE_URL``` environment variabl
|
||||
```ini
|
||||
DATABASE_URL=postgresql://[[user]:[password]@]host[:port][/database]
|
||||
```
|
||||
An example docker run environment variable would be: ```-e 'DATABASE_URL=postgresql://postgresadmin:strongpassword@postgres:5432/bitwardenrs'```.
|
||||
|
||||
If your password contains special characters, you will need to use percentage encoding.
|
||||
|
||||
| ! | # | $ | % | & | ' | ( | ) | * | + | , | / | : | ; | = | ? | @ | [ | ] |
|
||||
|
||||
Reference in New Issue
Block a user