Update configuration.md

This commit is contained in:
Graham Steffaniak 2023-09-09 18:58:47 -05:00 committed by GitHub
parent 1d9993b323
commit 85329243b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 116 additions and 14 deletions

View File

@ -96,19 +96,121 @@ UserDefaults:
## About each configuration
# Configuration Settings Documentation
## About each configuration
- `Signup`: This boolean value indicates whether user signup is enabled.
- `AdminUsername`: This is the username of the admin user.
- `AdminPassword`: This is the password of the admin user.
### Server configuration settings
- `indexingInterval`: This is the time in minutes the system waits before checking for filesystem changes. (used in search only)
- `numImageProcessors`:
socket: ""
tlsKey: ""
tlsCert: ""
enableThumbnails: false
resizePreview: true
typeDetectionByHeader: true
port: 8080
baseURL: "/"
address: ""
log: "stdout"
- `database`: This is the database file path + filename that will be created if it does not already exist. If it exists, it will use the existing file.
- `root`: "/srv"
- `indexingInterval`: This is the time in minutes the system waits before checking for filesystem changes (used in search only).
- `numImageProcessors`: This is the number of image processors available.
- `socket`: This is the socket configuration.
- `tlsKey`: This is the TLS key configuration.
- `tlsCert`: This is the TLS certificate configuration.
- `enableThumbnails`: This boolean value determines whether thumbnails are enabled.
- `resizePreview`: This boolean value determines whether preview resizing is enabled.
- `typeDetectionByHeader`: This boolean value determines whether type detection is based on headers.
- `port`: This is the port number on which the server is running.
- `baseURL`: This is the base URL for the server.
- `address`: This is the server address configuration.
- `log`: This specifies the log destination (e.g., "stdout" for standard output).
- `database`: This is the database file path + filename that will be created if it does not already exist. If it exists, it will use the existing file.
- `root`: This is the root directory path.
### Auth configuration settings
- `recaptcha`:
- `host`: This is the host for reCAPTCHA.
- `key`: This is the reCAPTCHA key.
- `secret`: This is the reCAPTCHA secret.
- `header`: This is the authentication header.
- `method`: This is the authentication method used (e.g., "json"). Possible values:
- password - username and password
- hook - hook authentication
- proxy - proxy authentication
- oath - oath authentication
- `command`: This is the authentication command.
- `signup`: This boolean value indicates whether user signup is enabled.
- `shell`: This is the shell configuration.
### Frontend configuration settings
- `name`: This is the name of the frontend.
- `disableExternal`: This boolean value determines whether external access is disabled.
- `disableUsedPercentage`: This boolean value determines whether used percentage is disabled.
- `files`: This is the files configuration.
- `theme`: This is the theme configuration.
- `color`: This is the color configuration.
### UserDefaults configuration settings
- `scope`: This is a scope of the permissions, "." or "./" means all directories, "./downloads" would mean only the downloads folder.
- `locale`: This is the locale configuration.
- `viewMode`: This is the view mode configuration.
- `singleClick`: This boolean value determines whether single-click is enabled.
- `sorting`:
- `by`: This is the sorting method used (e.g., "asc").
- `asc`: This boolean value determines the sorting order.
- `permissions`:
- `admin`: This boolean value determines whether admin permissions are granted.
- `execute`: This boolean value determines whether execute permissions are granted.
- `create`: This boolean value determines whether create permissions are granted.
- `rename`: This boolean value determines whether rename permissions are granted.
- `modify`: This boolean value determines whether modify permissions are granted.
- `delete`: This boolean value determines whether delete permissions are granted.
- `share`: This boolean value determines whether share permissions are granted.
- `download`: This boolean value determines whether download permissions are granted.
- `commands`: This is a list of commands.
- `hideDotfiles`: This boolean value determines whether dotfiles are hidden.
- `dateFormat`: This boolean value determines whether date formatting is enabled.