From 5b82defd78e4177353a8451f5cd5fbe38c9217cb Mon Sep 17 00:00:00 2001 From: Redume Date: Sun, 4 Aug 2024 14:24:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D1=81=D0=BF=D0=B8=D1=81=D0=B0?= =?UTF-8?q?=D0=BB=20=D0=BA=D0=B0=D0=BA=D0=B0=D1=8F=20=D0=BD=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B0,=20=D1=87=D1=82=D0=BE=20?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B0=D0=B5=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_sample.yaml | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/config_sample.yaml b/config_sample.yaml index 5910a65..6007db4 100644 --- a/config_sample.yaml +++ b/config_sample.yaml @@ -1,33 +1,36 @@ -database: - user: "DATABASE_USERNAME" - password: "DATABASE_PASSWORD" - host: "DATABASE_HOST" - name: "DATABASE_NAME" +# For more information, see the documentation +# https://github.com/Redume/Kekkai/wiki + +database: # Postgresql database data, for connection + user: 'DATABASE_USERNAME' + password: 'DATABASE_PASSWORD' + host: 'DATABASE_HOST' + name: 'DATABASE_NAME' port: 5432 server: host: 'localhost' - private_key: '/CertSSL/private.key' - cert: '/CertSSL/fullchain.pem' - ssl: true - debug: true + private_key: '/CertSSL/private.key' # The path to the private SSL key file (String) + cert: '/CertSSL/fullchain.pem' # The path to the SSL certificate (String) + ssl: true # Enable or disable SSL support [Boolean] + debug: true # Enable or disable log [Boolean] currency: chart: - save_chart: false + save_chart: false # Enable or disable saving graphs to an image (Boolean) collecting: - fiat: True - crypto: False - schedule: '30 8 * * *' - fiat: + fiat: true # Turn off or turn on the collection of the fiat currency rate [Boolean] + crypto: false # Turn off or turn on the collection of the cryptocurrency rate [Boolean] + schedule: '30 8 * * *' # Currency collection schedule in crontab format [String] + fiat: # List of fiat currency to save the exchange rate [Array] - USD - RUB - EUR - UAH - TRY - KZT - crypto: + crypto: # List of cryptocurrency to save the exchange rate [Array] - BTC - ETH - coinapiKeys: + coinapiKeys: # List of keys for the coinapi API [Array] - CryptoKey1 - CryptoKey2 - CryptoKey3 \ No newline at end of file