From b9d2ecbd415f3402050ffeda0bfe78c445dcbc2a Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Wed, 8 Nov 2023 22:50:20 +0000 Subject: [PATCH] docs(config): describe Django superuser env vars --- docs/configuration/environment-variables.md | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/docs/configuration/environment-variables.md b/docs/configuration/environment-variables.md index 0392427d9..574ca3f4b 100644 --- a/docs/configuration/environment-variables.md +++ b/docs/configuration/environment-variables.md @@ -120,6 +120,42 @@ By default the application sends logs to `stdout`. Django's primary secret, keep this safe! +### `DJANGO_SUPERUSER_EMAIL` + +!!! warning "Deployment configuration" + + You may change this setting when deploying the app to a non-localhost domain + +!!! danger "Required configuration" + + This setting is required when `DJANGO_ADMIN` is `true` + +The email address of the Django Admin superuser created during initialization. + +### `DJANGO_SUPERUSER_PASSWORD` + +!!! warning "Deployment configuration" + + You may change this setting when deploying the app to a non-localhost domain + +!!! danger "Required configuration" + + This setting is required when `DJANGO_ADMIN` is `true` + +The password of the Django Admin superuser created during initialization. + +### `DJANGO_SUPERUSER_USERNAME` + +!!! warning "Deployment configuration" + + You may change this setting when deploying the app to a non-localhost domain + +!!! danger "Required configuration" + + This setting is required when `DJANGO_ADMIN` is `true` + +The username of the Django Admin superuser created during initialization. + ### `DJANGO_TRUSTED_ORIGINS` !!! warning "Deployment configuration"