mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-06 02:18:26 +02:00
Add option to create initial superuser (#323)
* Add option to create initial superuser * Update .env.sample
This commit is contained in:
@@ -25,6 +25,22 @@ All options need to be defined as environment variables in the environment that
|
||||
|
||||
## List of options
|
||||
|
||||
### `LD_SUPERUSER_NAME`
|
||||
|
||||
Values: `String` | Default = None
|
||||
|
||||
When set, creates an initial superuser with the specified username when starting the container.
|
||||
Does nothing if the user already exists.
|
||||
|
||||
See [`LD_SUPERUSER_PASSWORD`](#ld_superuser_password) on how to configure the respective password.
|
||||
|
||||
### `LD_SUPERUSER_PASSWORD`
|
||||
|
||||
Values: `String` | Default = None
|
||||
|
||||
The password for the initial superuser.
|
||||
When left undefined, the superuser will be created without a usable password, which means the user can not authenticate using credentials / through the login form, and can only be authenticated using proxy authentication (see [`LD_ENABLE_AUTH_PROXY`](#ld_enable_auth_proxy)).
|
||||
|
||||
### `LD_DISABLE_BACKGROUND_TASKS`
|
||||
|
||||
Values: `True`, `False` | Default = `False`
|
||||
|
Reference in New Issue
Block a user