18 lines
852 B
TOML
18 lines
852 B
TOML
|
## trifid-api configuration file ##
|
||
|
# This file contains all of the buttons and knobs you can use to configure trifid to your liking.
|
||
|
# This file does not autoreload, you need to restart trifid-api for changes here to apply.
|
||
|
|
||
|
|
||
|
# [server] contains options for the HTTP server used to serve the API.
|
||
|
[server]
|
||
|
# (Required) What IP and port to bind the HTTP listener to.
|
||
|
bind = { ip = "127.0.0.1", port = 8080 }
|
||
|
# How many worker threads to start. The higher the number, the more resources trifid-api will use while idle, but
|
||
|
# the more parallel requests it can handle.
|
||
|
# Optional. Defaults to the number of physical CPUs in the system.
|
||
|
#workers = 16
|
||
|
|
||
|
# [database] contains options for the Postgres database used for all data storage
|
||
|
[database]
|
||
|
# (Required) The postgres database connection url to use
|
||
|
url = "postgres://postgres:postgres@localhost/trifid2"
|