-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.toml.sample
More file actions
27 lines (23 loc) · 863 Bytes
/
config.toml.sample
File metadata and controls
27 lines (23 loc) · 863 Bytes
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
# ! these configuration are meant for development purposes only, please do not use these in production environment
# ** main app
[app]
address = "0.0.0.0:8000"
# this flag to be true if in case you want to host the frontend separately from the backend,
# like on vercel, so enabling this flag would skip on building and bundling of the frontend
# with the fo executable
is_frontend_separately_hosted = false
# this url is meant to be the hosted url of the frontend, if the frontend is hosted separately
# make sure you add the protocol as well, like https://wapikit.vercel.app,
# because this would be used for cors and other configurations
frontend_address = ""
# ** Database configuration
[db]
host = "localhost"
port = 5432
user = "wapikit"
password = "wapikit"
database = "wapikit"
ssl_mode = "disable"
max_open = 25
max_idle = 25
max_lifetime = "300s"