webserver-framework/options.json

95 lines
2.6 KiB
JSON
Raw Normal View History

2022-11-06 18:36:13 +01:00
{
2023-04-17 13:10:45 +02:00
"projectName": "webserver-framework",
"serverFilePath": "./server/Server.js",
2022-11-06 18:36:13 +01:00
"shardOptions": {
2023-05-02 01:55:04 +02:00
"respawn": true
2022-11-06 18:36:13 +01:00
},
2023-02-10 22:57:44 +01:00
"shardCount": 1,
2022-11-06 18:36:13 +01:00
"serverOptions": {
2022-11-10 15:14:02 +01:00
"serveFiles": "./files",
2022-11-09 10:23:54 +01:00
"callbackURL": "/api/login",
"http": {
"port": 4000
2022-11-09 16:09:05 +01:00
},
2023-04-17 13:10:45 +02:00
"validUserTypes": [
"user",
"service",
"system"
],
2022-11-24 23:12:45 +01:00
"registrationEnabled": true,
2023-05-07 02:45:10 +02:00
"requireCodeForRegister": true,
2022-11-27 22:20:18 +01:00
"OAuthProviders": [
{
"name": "Discord",
"authoriseURL": "https://discord.com/oauth2/authorize",
"tokenURL": "https://discord.com/api/v10/oauth2/token",
"profileURL": "https://discord.com/api/v10/users/@me",
"iconURL": "https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a69f118df70ad7828d4_icon_clyde_blurple_RGB.svg"
}
2023-04-17 13:10:45 +02:00
],
"discord": {
"scope": [
"identify"
],
"version": 10
}
2022-11-09 10:23:54 +01:00
},
"logger": {
2023-04-17 13:10:45 +02:00
"customTypes": [
"access",
"unauthorised"
],
"customStreams": [
"access",
"debug",
"unauthorised"
],
"customTypeMapping": {
"access": "access",
"debug": "debug",
"unauthorised": "unauthorised"
},
"customColours": {
"access": "#32a852",
"unauthorised": "#ba3240"
},
"logLevel": 0,
2023-04-17 13:10:45 +02:00
"logLevelMapping": {
2023-05-07 02:45:10 +02:00
"access": 2,
"unauthorised": 2
2023-04-17 13:10:45 +02:00
},
2023-05-07 02:45:10 +02:00
"broadcastLevel": 3,
2023-04-17 13:10:45 +02:00
"webhook": {
"url": "https://discord.com/api/webhooks/1093874668886294548/uDMRD6g1lmq_2EZynsbKytzWoMM-0N4te0m61r_cv1BsSnDKDxG3fvI6sxSoG5t5b_xn"
}
2022-11-09 10:23:54 +01:00
},
"databases": {
"mariadb": {
"load": false,
"client": {
"waitForConnections": true,
"connectionLimit": 20,
"supportBigNumbers": true,
2022-11-20 17:36:05 +01:00
"bigNumberStrings": false,
2022-11-09 10:23:54 +01:00
"multipleStatements": true,
"collation": "utf8mb4_general_ci"
},
"cluster": {
"canRetry": true,
"removeNodeErrorCount": 5,
"restoreNodeTimeout": 30000,
"defaultSelector": "RR"
2023-04-17 13:10:45 +02:00
},
"loggerOptions": {
"logLevel": 0
2022-11-09 10:23:54 +01:00
}
},
"mongodb": {
"load": true,
2023-04-17 13:10:45 +02:00
"client": {},
"loggerOptions": {
"logLevel": 0
}
2022-11-09 10:23:54 +01:00
}
2022-11-06 18:36:13 +01:00
}
}