From b70b44490b52aad546721b7e9b159472588d8afc Mon Sep 17 00:00:00 2001 From: Felix Eckhofer Date: Thu, 26 Aug 2021 10:24:35 +0200 Subject: [PATCH] root: Require PG_PASS to be set (#1303) This raises an error when PG_PASS is not set. docker-compose recently changed the way .env files are searched for (see for example https://github.com/docker/compose/issues/8347) and with the current setup, authentik will not work anyway without a password set. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 25a8c9edc..ac40925eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: networks: - internal environment: - - POSTGRES_PASSWORD=${PG_PASS:-thisisnotagoodpassword} + - POSTGRES_PASSWORD=${PG_PASS:?database password required} - POSTGRES_USER=${PG_USER:-authentik} - POSTGRES_DB=${PG_DB:-authentik} env_file: