website/docs: add notice for psql password length

closes #1184

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-30 09:52:18 +02:00
parent 8ceef82c55
commit 55a5300bd2
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ If this is a fresh authentik install run the following commands to generate a pa
```shell ```shell
# You can also use openssl instead: `openssl rand -base64 36` # You can also use openssl instead: `openssl rand -base64 36`
sudo apt-get install -y pwgen sudo apt-get install -y pwgen
# Because of a PostgreSQL limitation, only passwords up to 99 chars are supported
# See https://www.postgresql.org/message-id/09512C4F-8CB9-4021-B455-EF4C4F0D55A0@amazon.com
echo "PG_PASS=$(pwgen 40 1)" >> .env echo "PG_PASS=$(pwgen 40 1)" >> .env
echo "AUTHENTIK_SECRET_KEY=$(pwgen 50 1)" >> .env echo "AUTHENTIK_SECRET_KEY=$(pwgen 50 1)" >> .env
# Skip if you don't want to enable error reporting # Skip if you don't want to enable error reporting