Замена конфига на yaml, с .env

This commit is contained in:
Данил 2024-06-14 14:01:03 +03:00
parent 6b943ad40a
commit 1e2e7565db
2 changed files with 7 additions and 5 deletions

View file

@ -1,5 +0,0 @@
DEBUG=false # debug logging
TIMEOUT=2 # http requests timeout
NDIGITS=3 # digits after floating point or after zeroes
COINAPI_KEYS=["key"] # coinapi keys list
TELEGRAM_TOKEN= # telegram bot token

7
config_sample.yaml Normal file
View file

@ -0,0 +1,7 @@
debug: false # debug logging
timeout: 2 # http requests timeout
ndigits: 3 # digits after floating point or after zeroes
coinapi_keys:
- key
- key2 # coinapi keys list
telegram_token: # telegram bot token