-
Notifications
You must be signed in to change notification settings - Fork 14
/
config-example.yaml
121 lines (121 loc) · 2.92 KB
/
config-example.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
server:
hostname: 127.0.0.1
port: 2002
trustProxy:
- loopback
clusters: 0
services:
database:
type: mariadb
host: 127.0.0.1
port: 3306
username: lyrio
password: lyrio
database: lyrio
minio:
default:
endpoint: http://lyrio-minio.test
signEndpoint: null
forUser: null
forJudge: null
accessKey: minioadmin
secretKey: minioadmin
bucket: lyrio-files
redis: redis://127.0.0.1:6379
mail:
address: [email protected]
transport: smtp://username:[email protected]:25
security:
crossOrigin:
enabled: true
whiteList:
- http://lyrio-ui.test
sessionSecret: don't leak this
maintainceKey: also don't leak this
recaptcha:
secretKey: null
useRecaptchaNet: false
proxyUrl: null
rateLimit:
maxRequests: 200
durationSeconds: 10
preference:
siteName: Lyrio
security:
recaptchaEnabled: false
recaptchaKey: null
requireEmailVerification: true
allowUserChangeUsername: true
allowEveryoneCreateProblem: true
allowNonPrivilegedUserEditPublicProblem: true
allowOwnerManageProblemPermission: false
allowOwnerDeleteProblem: true
allowEveryoneCreateDiscussion: true
discussionDefaultPublic: true
discussionReplyDefaultPublic: true
pagination:
homepageUserList: 10
homepageProblemList: 10
problemSet: 50
searchProblemsPreview: 7
submissions: 10
submissionStatistics: 10
userList: 30
userAuditLogs: 10
discussions: 10
searchDiscussionsPreview: 7
discussionReplies: 40
discussionRepliesHead: 20
discussionRepliesMore: 20
misc:
appLogo: default
appLogoForTheme:
pure: original
far: inverted
googleAnalyticsId: null
plausibleApiEndpoint: null
gravatarCdn: https://gravatar.com
redirectLegacyUrls: false
legacyContestsEntryUrl: null
homepageUserListOnMainView: true
sortUserByRating: false
renderMarkdownInUserBio: false
discussionReactionEmojis: [👍, 👎, 😄, 😕, ❤️, 🤔, 🤣, 🌿, 🍋, 🕊️]
discussionReactionAllowCustomEmojis: true
serverSideOnly:
discussionReactionCustomEmojisBlacklist: /(\uD83C[\uDDE6-\uDDFF]){2}/
dynamicTaskPriority: true
resourceLimit:
problemTestdataFiles: 40
problemTestdataSize: 134217728
problemAdditionalFileFiles: 40
problemAdditionalFileSize: 134217728
problemSamplesToRun: 10
problemTestcases: 20
problemTimeLimit: 2000
problemMemoryLimit: 512
submissionFileSize: 10485760
queryLimit:
problemSet: 100
submissions: 10
submissionStatistics: 10
searchUser: 10
searchGroup: 10
userList: 100
userAuditLogs: 20
discussions: 20
discussionReplies: 50
judge:
limit:
compilerMessage: 524288
outputSize: 104857600
dataDisplay: 128
dataDisplayForSubmitAnswer: 128
stderrDisplay: 5120
eventReport:
telegramBotToken: null
telegramApiRoot: null
sentTo: "@example"
proxyUrl: null
vendor:
ip2region: null