-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rocket.example.toml
37 lines (32 loc) · 954 Bytes
/
Rocket.example.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
[default]
limits.data-form = "20MiB"
[debug]
address = "127.0.0.1"
port = 8000
secret_key = "supersecretkey"
[release]
address = "0.0.0.0"
port = 9000
# temp_dir = "..." # overwrite this if you run within a container to make one of the mapped volumes.
secret_key = "pleaseactuallymakethisasupersecretkey"
# generate your own 256bit base64 key with `openssl rand -base64 32`
# make one database connection for debug AND release
[default.databases.postgres]
host = "database"
url = "postgres://upload:password@localhost/upload"
database = "upload"
user = "upload"
password = "password"
# ... or, define one of each:
# [debug.databases.postgres]
# host = "database"
# url = "postgres://upload:password@localhost/upload"
# database = "upload"
# user = "upload"
# password = "password"
# [release.databases.postgres]
# host = "database"
# url = "postgres://upload:password@database/upload"
# database = "upload"
# user = "upload"
# password = "password"