-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_config.toml
41 lines (35 loc) · 1.16 KB
/
example_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
[environment]
mode = "dev" # "dev", "prod"
[site]
name = "cuhHub" # the name of the site (shown in site title and meta tags)
description = "The official website for cuhHub, a community hosting numerous servers for Stormworks: Build and Rescue." # the description of the site (shown in meta tags)
[data] # relative to cwd
upload_dir = "../data/uploads"
[dev]
host = "localhost" # the host to run the frontend on in dev mode
port = 1600 # the port to run the frontend on in dev mode. use nginx to redirect requests here
log_level = 10 # the log level to use in dev mode
# CRITICAL = 50
# FATAL = CRITICAL
# ERROR = 40
# WARNING = 30
# WARN = WARNING
# INFO = 20
# DEBUG = 10
# NOTSET = 0
[prod]
host = "localhost" # the host to run the frontend on in prod
port = 1600 # the port to run the frontend on in prod. use nginx to redirect requests here
log_level = 20 # the log level to use in prod
# CRITICAL = 50
# FATAL = CRITICAL
# ERROR = 40
# WARNING = 30
# WARN = WARNING
# INFO = 20
# DEBUG = 10
# NOTSET = 0
[logging]
file = "../data/main.log" # the file to use for logging
[discord]
invite_url = "https://dsc.gg/cuhhubsw" # invite link to cuhhub discord server. used for `/` redirect