Skip to content
Danil edited this page Aug 13, 2024 · 3 revisions

config-sample.yaml in repo main/config_sample.yaml

Database configuration

database.user — Specifies the user where the database is located (For example, Redume. By default, postgres)

database.password — Configuration from the database user

database.host — The database host (For example, localhost, if on the same server as kekkai)

database.name — The name of the database (For example, kekkai)

database.port — Database port (Default 5432)

Server configuration

server.host — kekkai host (Similar to database.host)

server.ssl.private_key — The path to the private key of the SSL certificate

server.ssl.cert — The path to the SSL certificate

server.log.print — Show logs in the console (true/false)

server.log.level — Logging level (Fatal/Error/Warn/Log/Debug)

Setting up currency exchange rate collection

currency.chart.save — Save graphs as an image (true/false)

currency.collecting.fiat — Save the exchange rate of the fiat currency (true/false)

currency.collecting.crypto — Save the exchange rate of the cryptocurrency (true/false)

currency.collecting.schedule — Currency collection interval (Configurable via cron. It is recommended to use crontab.guru, not supported in Non-standard format, like @daily)

currency.fiat — A list of fiat currencies that will be saved to the database

currency.crypto — A list of cryptocurrencies that will be saved to the database

currency.coinapiKeys — List of API keys of the coinapi service (How to get it written How to create API keys for coinapi)

Clone this wiki locally