forked from ECSC2022/saarctf-gameserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.json
53 lines (53 loc) · 1.86 KB
/
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
52
53
{
"databases": {
"postgres": {
"__comment": "Leave server empty to use local socket",
"server": "",
"port": 5432,
"username": "",
"password": "",
"database": "saarctf_2"
},
"redis": {
"host": "localhost",
"port": 6379,
"db": 3
},
"rabbitmq": {
"host": "localhost",
"port": 5672,
"vhost": "saarctf",
"username": "saarctf",
"password": "123456789"
},
"website": "sqlite:///../../saarctf-webpage/db.sqlite3"
},
"website_team_url": "...",
"scoreboard_path": "/dev/shm/scoreboard",
"checker_packages_path": "/dev/shm/packages",
"logo_input_path": "...",
"patches_path": "/dev/shm/patches",
"patches_public_path": "/dev/shm/patches-webroot",
"flower_url": "http://localhost:5555/",
"coder_url": "",
"scoreboard_url": "",
"grafana_url": "",
"secret_flags": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"flags_rounds_valid": 10,
"external_timer": false,
"nop_team_id": 1,
"dispatcher_check_vpn_status": true,
"network": {
"game": "10.32.0.0/15",
"__ip_syntax": ["number", "or list", ["a", "b", "c"], "= ((team_id / a) mod b) + c"],
"vulnbox_ip": [127, [200, 256, 0], [1, 200, 0], 2],
"gateway_ip": [127, [200, 256, 0], [1, 200, 0], 1],
"testbox_ip": [127, [200, 256, 0], [1, 200, 0], 3],
"__range_syntax": ["number", "or list", ["a", "b", "c"], "= ((team_id / a) mod b) + c", "/range"],
"team_range": [127, [200, 256, 0], [1, 200, 0], 0, 24],
"vpn_host": "10.32.250.1",
"vpn_peer_ips": [10, [200, 256, 48], [1, 200, 0], 1],
"gameserver_ip": "10.32.250.2",
"gameserver_range": "10.32.250.0/24"
}
}