website/docs: add notice for psql password length
closes #1184 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
8ceef82c55
commit
55a5300bd2
|
@ -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
|
||||||
|
|
Reference in a new issue