mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-05-19 23:35:24 +02:00
Add a default log level
This commit is contained in:
@@ -38,6 +38,7 @@ ENV KEY=""
|
||||
ENV SCRIPT_NAME=/
|
||||
ENV DOMAIN_NAME=http://localhost
|
||||
ENV AUTH_TYPE=""
|
||||
ENV LOG_LEVEL="Info"
|
||||
|
||||
# BasicAuth variables
|
||||
ENV BASIC_AUTH_USER=""
|
||||
|
||||
1
SETUP.md
1
SETUP.md
@@ -20,6 +20,7 @@
|
||||
* `SCRIPT_NAME` is your "Base Path" for hosting. For example, if you want to host on http://localhost/admin, set this to `/admin`
|
||||
* `KEY` is your encryption key. Set this to a random value generated from `openssl rand -base64 32`
|
||||
* `AUTH_TYPE` can be set to `Basic` or `OIDC`. See the [Authentication](#Authentication) section below for more information.
|
||||
* `LOG_LEVEL` can be one of `Debug`, `Info`, `Warning`, or `Error` for decreasing verbosity.
|
||||
---
|
||||
# Reverse Proxies
|
||||
*If your reverse proxy isn't listed or doesn't work, please open up a [new issue](https://github.com/iFargle/headscale-webui/issues/new) and it will be worked on.*
|
||||
|
||||
@@ -11,6 +11,7 @@ services:
|
||||
- SCRIPT_NAME=/admin # This is your applications base path (wsgi requires the name "SCRIPT_NAME")
|
||||
- KEY="YourKeyBetweenQuotes" # Generate with "openssl rand -base64 32" - used to encrypt your key on disk.
|
||||
- AUTH_TYPE=oidc # AUTH_TYPE is either Basic or OIDC. Empty for no authentication
|
||||
- LOG_LEVEL=info # Log level. "DEBUG", "ERROR", "WARNING", or "INFO". Default "INFO"
|
||||
# ENV for Basic Auth (Used only if AUTH_TYPE is "Basic"). Can be omitted if you aren't using Basic Auth
|
||||
- BASIC_AUTH_USER=user # Used for basic auth
|
||||
- BASIC_AUTH_PASS=pass # Used for basic auth
|
||||
|
||||
Reference in New Issue
Block a user