summaryrefslogtreecommitdiff
path: root/test/config.json
diff options
context:
space:
mode:
authorAleksa Vuckovic <git@mail.vuckovic.cc>2023-09-27 10:47:59 +0000
committerAleksa Vuckovic <git@mail.vuckovic.cc>2023-09-27 15:46:57 +0000
commit43a58a4fe60b80697849a46dd695497ec9d48bce (patch)
tree2cfab28a555054e98b309a1323d6f83bc4eccaa0 /test/config.json
Initial commitHEADmaster
Diffstat (limited to 'test/config.json')
-rw-r--r--test/config.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/test/config.json b/test/config.json
new file mode 100644
index 0000000..ba49519
--- /dev/null
+++ b/test/config.json
@@ -0,0 +1,54 @@
+{
+ "databases": {
+ "postgres": {
+ "__comment": "Leave server empty to use local socket",
+ "server": "",
+ "port": 5432,
+ "username": "saarctf",
+ "password": "yTdC5fCxhmiH9w23jpFAVpXyhDNWaF4duijTsPoD",
+ "database": "saarctf_2"
+ },
+ "redis": {
+ "host": "localhost",
+ "port": 6379,
+ "db": 3,
+ "password": "9kiobAXCudYpi4SJKj75gsogUQ5s4XrxdroRfrWb"
+ },
+ "rabbitmq": {
+ "host": "localhost",
+ "port": 5672,
+ "vhost": "saarctf",
+ "username": "saarctf",
+ "password": "UqvH5RSeakxFMKeL7r9utbWg5Vi9RVTCdkhqcY52"
+ },
+ "website": "sqlite:///../../saarctf-webpage/db.sqlite3"
+ },
+ "website_team_url": "...",
+ "scoreboard_path": "/dev/shm/scoreboard",
+ "checker_packages_path": "/dev/shm/packages",
+ "logo_input_path": "/opt/config/2020/logo",
+ "patches_path": "/dev/shm/patches",
+ "patches_public_path": "/dev/shm/patches-webroot",
+ "flower_url": "https://cp.ctf.vuckovic.cc:8443/",
+ "coder_url": "https://cp.ctf.vuckovic.cc:8444/",
+ "scoreboard_url": "https://scoreboard.ctf.vuckovic.cc/",
+ "grafana_url": "https://cp.ctf.vuckovic.cc:8445/",
+ "secret_flags": "0000000000000000000000000000000000000000000000000000000000000000",
+ "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"
+ }
+}