-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
55 lines (55 loc) · 1.28 KB
/
Copy pathconfig.example.json
File metadata and controls
55 lines (55 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"server": {
"host": "0.0.0.0",
"port": 5000,
"debug": false
},
"security": {
"enabled": true,
"authType": "github",
"secretKey": "your-secret-key-here-must-be-at-least-32-characters-long",
"sessionLifetime": 86400,
"github": {
"clientId": "your-github-oauth-client-id",
"clientSecret": "your-github-oauth-client-secret",
"callbackUrl": "http://your-domain.com:5000/auth/callback",
"allowedUsers": [
"github-username1",
"github-username2",
"github-username3"
]
},
"apiTokens": [
{
"id": "example-token-id",
"token": "your-api-token-here",
"name": "example-token-name",
"createdAt": "2025-01-01T00:00:00.000000",
"expiresAt": "2026-01-01T00:00:00.000000",
"lastUsed": null
}
]
},
"app": {
"autoLoadDatabase": true,
"autoRestartOnSave": true,
"maxUploadSizeMB": 100,
"uploadDirectory": "uploads"
},
"ui": {
"defaultTheme": "dark",
"showWelcomeMessage": true,
"enableAnimations": true
},
"backup": {
"enabled": false,
"autoBackupOnUpload": true,
"maxBackups": 5,
"backupDirectory": "backups"
},
"logging": {
"level": "INFO",
"logToFile": false,
"logDirectory": "logs"
}
}