-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.toml
63 lines (45 loc) · 1.55 KB
/
config.toml
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
# Cyboard Config file
[database]
# Connection string for PostgreSQL. There are many different way to specify this:
# https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING
postgres_uri = "dbname=cyboard user=cyboard host=/var/run/postgresql sslmode=disable"
[log]
# Levels: "debug", "info", "warn", "error"
#level = "info"
# use stdout instead of files in ./data/log/
#stdout = "false"
[event]
# When will the event be taking place?
# CTF will only be unlocked after the event starts.
start = 2017-11-04T09:00:00-05:00
end = 2017-11-04T19:30:00-05:00
# Are there any breaks (e.g. lunch time, overnight) that no contestants should score during?
breaks = [
{ at = 2017-11-04T12:00:00-05:00, for = "1h" }
]
[server]
# This section is for the "server" command.
appname = "CNY Hackathon"
ip = "127.0.0.1"
http_port = "8080"
https_port = "8081"
# Set up SSL.
#cert = "certs/cert.pem"
#key = "certs/key.pem"
# Enable compression
#compress = "true"
# Enable rate limiting
#rate_limit = "true"
# Where are supplementary ctf files located?
#ctf_file_dir = "data/ctf"
[service_monitor]
# This section is for the "checks" command.
# How long between service checks?
intervals = "15s"
# If a team's service doesn't respond in this time, it must be timed-out (offline).
timeout = "5s"
# Where are script files located?
#checks_dir = "data/scripts"
# To target teams' infrastructure, the service monitor will use this 3-octet IP component,
# and get the final octet from the team's config (assigned through the web gui).
base_ip_prefix = "192.168.0."