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.

Sven 2020-10-12 17:39:21 +02:00
parent e56ba9f21b
commit ece86d4f90

@ -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.
| ! | # | $ | % | & | ' | ( | ) | * | + | , | / | : | ; | = | ? | @ | [ | ] |