Skip to content

Commit 75ccb04

Browse files
authored
Update docker-compose.yml
use env variable for secret key
1 parent 6b94f5e commit 75ccb04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/authentik/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ services:
4848
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
4949
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
5050
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:-authentik}
51-
AUTHENTIK_SECRET_KEY: urgent-briskness-dispense-happy-charity
51+
AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:-authentiksupersecretkey}
5252
volumes:
5353
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media
5454
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/custom-templates:/templates
@@ -82,7 +82,7 @@ services:
8282
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
8383
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
8484
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:-authentik}
85-
AUTHENTIK_SECRET_KEY: urgent-briskness-dispense-happy-charity
85+
AUTHENTIK_SECRET_KEY: ${AUTHENTIK_SECRET_KEY:-authentiksupersecretkey}
8686
volumes:
8787
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/certs:/certs
8888
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media

0 commit comments

Comments
 (0)