forked from sse2017-reversi-fun/reversi-portal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-template.yaml
52 lines (52 loc) · 1.27 KB
/
config-template.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
base:
db: mongodb://localhost/reversi-portal
redis: redis://localhost
secret: arbitrary-secret
port: 8888
host: localhost
cspReportUrl: /
urlPrefix: ''
cdnPrefix: ''
scoreboard:
cacheDuration: 600000 # 10 minutes
web:
realtimePush: true # disable realtime push if you have many judgers
api:
credential:
username: foo
password: bar
compile:
display:
gcc51c11: TDM-GCC 5.1.0 (Release, 64-bit, with C11)
limits:
sizeOfCode: 1048576 # 1 MB
sizeOfBin: 1048576 # 1 MB
sizeOfText: 102400 # 100 KB
submitInterval: 300000 # 5 minutes, for students
minSubmitInterval: 60000 # 1 minute, for administrators
maxExecQuota: 36000000 # 10 hours
match:
rules:
moveTimeout: 2000 # 2 s
roundTimeout: 90000 # 90 s
memoryLimit: 367001600 # 350 MB
size: 8
roundLlimit: 60
profiling:
eventBus: false
addMatches: false
mq:
vhosts:
/:
connection:
hostname: localhost
user: guest
password: guest
queues:
- reversi_compile
- reversi_judge
publications:
compile:
queue: reversi_compile
judge:
queue: reversi_judge