-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathapp.json
More file actions
46 lines (46 loc) · 1.77 KB
/
app.json
File metadata and controls
46 lines (46 loc) · 1.77 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
{
"name": "Modmail Logviewer",
"description": "A simple webserver to view Modmail logs.",
"repository": "https://github.com/modmail-dev/logviewer",
"env": {
"CONNECTION_URI": {
"description": "MongoDB connection URI that contains your Modmail logs.",
"required": true
},
"USE_ATTACHMENT_PROXY": {
"description": "Whether if the logviewer should use a proxy to view attachments. If set to 'no', attachments will expire after 1 day. USE AT YOUR OWN RISK.",
"required": false,
"value": "no"
},
"ATTACHMENT_PROXY_URL": {
"description": "Proxy URL for viewing attachments.",
"required": false,
"value": "https://cdn.discordapp.xyz"
},
"SAVE_ATTACHMENTS": {
"description": "Whether to archive attachments to MongoDB GridFS. Set to 'yes' to enable.",
"required": false,
"value": "no"
},
"ARCHIVE_INTERVAL": {
"description": "How often (in seconds) to scan for unarchived attachments. Default: 600",
"required": false,
"value": "600"
},
"ARCHIVE_RETENTION": {
"description": "How long to keep archived attachments. Options: 1w, 1month, 1y, forever. Default: forever",
"required": false,
"value": "forever"
},
"ARCHIVE_COMPRESS_IMAGES": {
"description": "Compress images to JPEG before storing to save space. Default: yes",
"required": false,
"value": "yes"
},
"ARCHIVE_IMAGE_QUALITY": {
"description": "JPEG quality (1-100). Lower = smaller files. Default: 65",
"required": false,
"value": "65"
}
}
}