add logging to file (#24)

This commit is contained in:
Dmitry Afanasyev
2023-10-03 19:47:41 +03:00
committed by GitHub
parent e465d71320
commit 47c7524cf8
8 changed files with 106 additions and 90 deletions

View File

@@ -1,24 +1,20 @@
STAGE="runtests"
# ==== start app settings ====
APP_HOST="0.0.0.0"
APP_PORT="8000"
USER="web"
TZ="Europe/Moscow"
# ==== telegram settings ====
TELEGRAM_API_TOKEN="123456789:AABBCCDDEEFFaabbccddeeff-1234567890"
# webhook settings
DOMAIN="http://localhost"
URL_PREFIX=
GPT_BASE_HOST="http://localhost"
# set to true to start with webhook. Else bot will start on polling method
START_WITH_WEBHOOK="false"
# quantity of workers for uvicorn
WORKERS_COUNT=1
# Enable uvicorn reloading
RELOAD="true"
DEBUG="true"
# ==== domain settings ====
DOMAIN="http://localhost"
URL_PREFIX=
# ==== gpt settings ====
GPT_BASE_HOST="http://localhost"
# ==== other settings ====
USER="web"