From ece86d4f90a76aa6ce6b3cb4f4790ff11c849b40 Mon Sep 17 00:00:00 2001 From: Sven <34579211+sutidor@users.noreply.github.com> Date: Mon, 12 Oct 2020 17:39:21 +0200 Subject: [PATCH] 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. --- Using-the-PostgreSQL-Backend.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Using-the-PostgreSQL-Backend.md b/Using-the-PostgreSQL-Backend.md index 517851b..cae2846 100644 --- a/Using-the-PostgreSQL-Backend.md +++ b/Using-the-PostgreSQL-Backend.md @@ -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. | ! | # | $ | % | & | ' | ( | ) | * | + | , | / | : | ; | = | ? | @ | [ | ] |