mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
chore(docs): Updated the config information in the documentation
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
This commit is contained in:
parent
c944e552ec
commit
424ecff857
1 changed files with 17 additions and 8 deletions
|
@ -96,28 +96,37 @@ Most of the data is built on User Agent. It is possible to disable analytics in
|
|||
- `work`: Enable or disable analytics.
|
||||
|
||||
## Currency
|
||||
`DuckDuckGo` (fiat currency collection) is used to collect currency rates.
|
||||
`DuckDuckGo` (fiat currency collection) and `CoinMarketCap` (cryptocurrency collection)
|
||||
are used to collect currency rates.
|
||||
|
||||
??? note
|
||||
```yaml
|
||||
...
|
||||
currency:
|
||||
chart:
|
||||
save: false
|
||||
collecting:
|
||||
fiat: true
|
||||
schedule: '30 8 * * *'
|
||||
fiat:
|
||||
chart:
|
||||
save: false # Enable or disable saving graphs to an image (Boolean)
|
||||
collecting:
|
||||
fiat: true # Turn off or turn on the collection of the fiat currency rate [Boolean]
|
||||
crypto: false
|
||||
schedule: '30 8 * * *' # Currency collection schedule in crontab format [String]
|
||||
crypto_apikey: 'APIKEY'
|
||||
fiat: # List of fiat currency to save the exchange rate [Array]
|
||||
- USD
|
||||
- RUB
|
||||
- EUR
|
||||
- UAH
|
||||
- TRY
|
||||
- KZT
|
||||
crypto:
|
||||
- ETH
|
||||
- TON
|
||||
- USDT
|
||||
```
|
||||
|
||||
- `currency.chart.save`: Enable or disable saving graphs.
|
||||
- `currency.collecting`: Enable or disable cryptocurrency or fiat currency exchange rate collection.
|
||||
- `currency.schedule`: Currency collection interval (Configurable via cron.
|
||||
It is recommended to use [crontab.guru](https://crontab.guru), not supported in `Non-standard format`, like `@daily`).
|
||||
- `currency.fiat`: A list of fiat currencies that will be saved to the database.
|
||||
- `crypto.crypto_apiKey`: API-key from CoinMarketCap service
|
||||
- `currency.fiat`: A list of fiat currencies that will be saved to the database.
|
||||
- `currency.crypto`: A list of crypto currencies that will be saved to the database.
|
Loading…
Add table
Reference in a new issue