-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-sample.json
51 lines (51 loc) · 976 Bytes
/
config-sample.json
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
{
"mysql": {
"host": "127.0.0.1",
"user": "root",
"password": "new_password",
"port": "3306",
"database": "jol",
"supportBigNumbers": true
},
"monitor": {
"port": 3002
},
"ws": {
"http_client_port": 3000,
"websocket_client_port": 3300,
"judger_port": 5100
},
"judger": {
"oj_home": "/home/judge",
"oj_judge_num": 8,
"address": "http://localhost:5110"
},
"problem_upload_dest": {
"dir": "/path/to/upload"
},
"website": {
"dir": "/home/"
},
"etc": {
"compile_arguments": "/path/to/compile.json",
"frontend_path": "/path/to/frontend"
},
"redis": {
"host": "localhost",
"port": 6379
},
"rpc": {
"protocol": "http",
"host": "127.0.0.1",
"port": 5031
},
"cookie": {
"path": "/",
"domain": "",
"httpOnly": true
},
"session_secret": "YourSecretKeytoSession",
"salt": "PleaseModifyThis",
"init": false,
"enable_cluster_transfer": true
}