From 55a5300bd217045e2160cf070c2a0dfb1b28e5c3 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 30 Jul 2021 09:52:18 +0200 Subject: [PATCH] website/docs: add notice for psql password length closes #1184 Signed-off-by: Jens Langhammer --- website/docs/installation/docker-compose.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/installation/docker-compose.md b/website/docs/installation/docker-compose.md index b5e819aee..60411b951 100644 --- a/website/docs/installation/docker-compose.md +++ b/website/docs/installation/docker-compose.md @@ -23,6 +23,8 @@ If this is a fresh authentik install run the following commands to generate a pa ```shell # You can also use openssl instead: `openssl rand -base64 36` 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 "AUTHENTIK_SECRET_KEY=$(pwgen 50 1)" >> .env # Skip if you don't want to enable error reporting