Update configuration.md
This commit is contained in:
parent
1d9993b323
commit
85329243b1
130
configuration.md
130
configuration.md
|
@ -96,19 +96,121 @@ UserDefaults:
|
||||||
|
|
||||||
## About each configuration
|
## 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
|
### Server configuration settings
|
||||||
|
|
||||||
- `indexingInterval`: This is the time in minutes the system waits before checking for filesystem changes. (used in search only)
|
- `indexingInterval`: This is the time in minutes the system waits before checking for filesystem changes (used in search only).
|
||||||
- `numImageProcessors`:
|
|
||||||
socket: ""
|
- `numImageProcessors`: This is the number of image processors available.
|
||||||
tlsKey: ""
|
|
||||||
tlsCert: ""
|
- `socket`: This is the socket configuration.
|
||||||
enableThumbnails: false
|
|
||||||
resizePreview: true
|
- `tlsKey`: This is the TLS key configuration.
|
||||||
typeDetectionByHeader: true
|
|
||||||
port: 8080
|
- `tlsCert`: This is the TLS certificate configuration.
|
||||||
baseURL: "/"
|
|
||||||
address: ""
|
- `enableThumbnails`: This boolean value determines whether thumbnails are enabled.
|
||||||
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.
|
- `resizePreview`: This boolean value determines whether preview resizing is enabled.
|
||||||
- `root`: "/srv"
|
|
||||||
|
- `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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue