22 lines
970 B
Markdown
22 lines
970 B
Markdown
# Miniauth.
|
|
|
|
|
|
## Config
|
|
|
|
| Name | Description | Default |
|
|
|------|-------------|---------|
|
|
| DUMMY_DATABASE | Setup a new sqlite with the struct but no data for dev and test only | false |
|
|
| USERSTORE_SQLITE_PATH | Path to the Sqlite Database | `none` |
|
|
| PORT | Port for the Webserver | 8080 |
|
|
| SMTP_SERVER | SMTP Server to send mails, if server is `test` mails will not be send, no error shown | `none` |
|
|
| SMTP_PORT | SMTP Port | 587 |
|
|
| SMTP_USERNAME | SMTP Username | `none` |
|
|
| SMTP_PASSWORD | SMTP Password | `none` |
|
|
| SMTP_FROM | Mail address used as from for all mails | `none` |
|
|
| WEB_PUBLIC_REGISTRATION | Enabled the registration for anyone on the webgui | False |
|
|
| WEB_JWT_SECRET_KEY | Set secret key for the jwt used | `abc` |
|
|
| MINIAUTH_LOGIN_WITH_NOT_APPROVED_MAIL | Allow user to login even if there mail address is not validated | False |
|
|
|
|
|
|
## Development
|
|
create locale db by run `sh db.sh` than set the env varieables you need and run everything.
|