-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rocket.toml
41 lines (35 loc) · 850 Bytes
/
Rocket.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
[global]
template_dir = "frontend/dist/templates"
[development]
address = "0.0.0.0"
port = 8080
# workers = [number of cpus * 2]
keep_alive = 5
read_timeout = 5
write_timeout = 5
log = "normal"
# secret_key = [randomly generated at launch]
limits = { forms = 32768 }
[staging]
address = "0.0.0.0"
port = 9081
# workers = [number of cpus * 2]
keep_alive = 5
read_timeout = 5
write_timeout = 5
log = "normal"
# secret_key = [randomly generated at launch]
limits = { forms = 32768 }
[production]
address = "0.0.0.0"
port = 8080
#workers = [number of cpus * 2]
keep_alive = 5
read_timeout = 5
write_timeout = 5
log = "critical"
#secret_key = [randomly generated at launch]
limits = { forms = 32768 }
tls = { certs = "certs/cert.crt", key = "certs/cert.key" }
#[global.databases]
#postgres_db = { url = "postgres://postgres:root@localhost/diesel" }