From 75ccb0494e480285e18c562426677b796e4800ad Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:54:09 +0200 Subject: [PATCH] Update docker-compose.yml use env variable for secret key --- examples/authentik/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/authentik/docker-compose.yml b/examples/authentik/docker-compose.yml index fbdbb3d..5ddaeb8 100644 --- a/examples/authentik/docker-compose.yml +++ b/examples/authentik/docker-compose.yml @@ -48,7 +48,7 @@ services: AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik} AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik} AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:-authentik} - AUTHENTIK_SECRET_KEY: urgent-briskness-dispense-happy-charity + AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:-authentiksupersecretkey} volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/custom-templates:/templates @@ -82,7 +82,7 @@ services: AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik} AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik} AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:-authentik} - AUTHENTIK_SECRET_KEY: urgent-briskness-dispense-happy-charity + AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:-authentiksupersecretkey} volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/certs:/certs - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media