Core
Settings
RivenSettings
Object containing the following properties:
| Property | Description | Type | Default |
|---|---|---|---|
databaseUrl (*) | The database connection URL. | string (url) | |
databaseDebugLogging | Enable debug logging for the database. | boolean | false |
databaseSslRootCert | The file path to the SSL root certificate for the database connection. | string | |
databaseSslCert | The file path to the SSL certificate for the database connection. | string | |
databaseSslKey | The file path to the SSL key for the database connection. | string | |
redisUrl (*) | The Redis server URL. | string (url) | |
vfsDebugLogging | Enable debug logging for the virtual file system. | boolean | false |
vfsMountPath (*) | The mount point for the virtual file system. | string | |
vfsForceMount | If true, attempts to unmount the mount-point before remounting. | boolean | true |
unsafeWipeRedisOnStartup | UNSAFE. If true, all Redis data will be removed on application startup. | boolean | false |
unsafeWipeDatabaseOnStartup | UNSAFE. If true, the database will be wiped on application startup. | boolean | false |
unsafeWipeUsersOnStartup | UNSAFE. If true, all user data will be removed on application startup. | boolean | false |
host | The API server host. | string | 'localhost' |
port | The API server port. | number (int) | 3000 |
shutdownTimeoutSeconds | The timeout in seconds for shutting down the application. | number (>0) | 30 |
rankingConfigPath | Path to the JSON file containing the torrent ranking configuration. Auto-generated with defaults on first startup. | string | './riven-ranking-config.json' |
printConfigurationOnStartup | Whether to print the effective configuration on application startup. Useful for debugging configuration issues. | boolean | false |
adminUserCredentials (*) | The admin user credentials - in the format username:password | never |
(*) Required.