-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rocket.toml
27 lines (24 loc) · 991 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
# Docs: https://rocket.rs/v0.5/guide/configuration/
#
# Rocket automatically sets the configuration profile to `debug` when compiled
# in debug mode and `release` when compiled in release mode.
#
# In addition to any profiles you declare, there are two meta-profiles,
# `default` and `global`, which can be used to provide values that apply to all
# profiles. Values provided in a `default` profile are used as fall-back
# values when the selected profile doesn't contain a requested values, while
# values in the `global` profile supplant any values with the same name in any
# profile.
[global.limits]
# See https://api.rocket.rs/master/rocket/data/struct.Limits#built-in-limits
form = "1 MiB"
data-form = "10 MiB"
json = "10 MiB"
[debug]
secret_key = "eXqSA0wz+qLlg8umREPesnkBzNlhwaNcp34BttIWLes="
cors_allow_origin = "*"
[debug.databases.flugbuech]
url = "postgres://flugbuech:flugbuech-dev-password@localhost/flugbuech"
min_connections = 2
max_connections = 8
timeout = 5