Commit 96a53d
2024-03-05 01:39:54 Hargata Softworks: z/dev/null .. environment variables.md | |
@@ 0,0 1,27 @@ | |
+ | # Environment Variables |
+ | |
+ | These are all of the environment variables you can pass into LubeLogger and what they do |
+ | ``` |
+ | LC_ALL=en_US.UTF-8 <- Locale and Language Settings, this will affect how numbers, currencies, and dates are formatted. |
+ | LANG=en_US.UTF-8 <- Same as above. Note that some languages don't have UTF-8 encodings. |
+ | MailConfig__EmailServer="" <- Email SMTP settings used only for configuring multiple users(to send their registration token and forgot password tokens) |
+ | MailConfig__EmailFrom="" <- Same as above. |
+ | MailConfig__UseSSL="false" <- Same as above. |
+ | MailConfig__Port=587 <- Same as above. |
+ | MailConfig__Username="" <- Same as above. |
+ | MailConfig__Password="" <- Same as above. |
+ | POSTGRES_CONNECTION="" <- Postgres Connection String |
+ | OpenIDConfig__Name=Name of the OpenID Connect Provider |
+ | OpenIDConfig__ClientId=Client Id to Authenticate with the Provider |
+ | OpenIDConfig__ClientSecret=Client Secret to Authenticate with the Provider |
+ | OpenIDConfig__AuthURL=Authorization URL to the Provider's Login Page |
+ | OpenIDConfig__TokenURL=URL to retrieve user JWT from the Provider |
+ | OpenIDConfig__RedirectURL=https://<yourlubeloggerdomain.com>/Login/RemoteAuth(must be HTTPS) |
+ | OpenIDConfig__Scope=The scope for retrieving the user's email claim(usually it's just 'email') |
+ | OpenIDConfig__ValidateState=true/false(default: false) - whether LubeLogger should validate state. |
+ | EnableAuth=true/false(default: false) - Allows users to configure whether if authentication is enabled via environment variable. |
+ | UserNameHash="" - SHA256 Hash of the root username. |
+ | UserPasswordHash="" - SHA256 Hash of the root password. |
+ | LUBELOGGER_ALLOWED_FILE_EXTENSIONS="" - allowed file extensions for document uploads, use '*' to allow all file types. |
+ | LUBELOGGER_LOGO_URL="" - Custom Logo URL. |
+ | ``` |