chore(config): replace example configs

This commit is contained in:
Данил 2025-03-02 21:46:41 +03:00
parent 6e7dbe4c14
commit f4838349d4
2 changed files with 56 additions and 42 deletions

56
config.example.hjson Normal file
View file

@ -0,0 +1,56 @@
{
database:
{
user: DATABASE_USERNAME
password: DATABASE_PASSWORD
host: localhost
name: kekkai
port: 5432
}
server:
{
host: 0.0.0.0
ssl:
{
private_key: /CertSSL/privkey.pem
cert: /CertSSL/fullchain.pem
enabled: false
}
log:
{
level: info
}
}
analytics:
{
plausible_domain: plausible.io
plausible_token: TOKEN
enabled: false
}
currency:
{
collecting:
{
fiat: true
crypto: false
schedule: 30 * * *
crypto_apikey: TOKEN
}
fiat:
[
USD
RUB
EUR
UAH
TRY
KZT
]
crypto:
[
ETH
TON
USDT
BTC
]
}
}