Add option to create initial superuser (#323)

* Add option to create initial superuser

* Update .env.sample
This commit is contained in:
Sascha Ißbrücker
2022-09-04 08:08:15 +02:00
committed by GitHub
parent 5841ba0f4c
commit f88cc30b48
5 changed files with 112 additions and 0 deletions

View File

@@ -8,7 +8,19 @@ LD_HOST_DATA_DIR=./data
# Must end with a slash `/`
LD_CONTEXT_PATH=
# Username of the initial superuser to create, leave empty to not create one
LD_SUPERUSER_NAME=
# Password for the initial superuser, leave empty to disable credentials authentication and rely on proxy authentication instead
LD_SUPERUSER_PASSWORD=
# Option to disable background tasks
LD_DISABLE_BACKGROUND_TASKS=False
# Option to disable URL validation for bookmarks completely
LD_DISABLE_URL_VALIDATION=False
# Enables support for authentication proxies such as Authelia
LD_ENABLE_AUTH_PROXY=False
# Name of the request header that the auth proxy passes to the application to identify the user
# See docs/Options.md for more details
LD_AUTH_PROXY_USERNAME_HEADER=
# The URL that linkding should redirect to after a logout, when using an auth proxy
# See docs/Options.md for more details
LD_AUTH_PROXY_LOGOUT_URL=