Fix bot requirements

This commit is contained in:
Даня Вакуленков 2024-12-14 01:37:54 +03:00
parent c6e60fab39
commit 572980f469
5 changed files with 31 additions and 10 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ __pycache__/
*.py[cod] *.py[cod]
celerybeat-schedule celerybeat-schedule
backend/static backend/static
bot/logs.log

View File

@ -1 +0,0 @@
from cgitb import handler

View File

@ -1,8 +0,0 @@
2024-10-27T23:59:11.744491+0300 | main : main | INFO | Starting bot
2024-10-27T23:59:12.269505+0300 | start_handler : command_start | INFO | 7080735869 - @danya_danya23 : команда /start и не зарегистрирован
2024-10-28T00:00:35.215099+0300 | start_handler : command_start | INFO | 193428034 - @s1lur : команда /start и не зарегистрирован
2024-10-28T00:00:35.270428+0300 | start_handler : command_start | INFO | 402449803 - @danyadjan : команда /start и не зарегистрирован
2024-10-28T00:01:50.305932+0300 | main : main | INFO | Starting bot
2024-10-28T00:01:50.735100+0300 | start_handler : command_start | INFO | 402449803 - @danyadjan : команда /start и не зарегистрирован
2024-10-28T00:02:04.042345+0300 | main : main | INFO | Starting bot
2024-10-28T00:02:06.132110+0300 | start_handler : command_start | INFO | 402449803 - @danyadjan : команда /start и не зарегистрирован

28
bot/requirements.txt Normal file
View File

@ -0,0 +1,28 @@
aiofiles==24.1.0
aiogram==3.15.0
aiohappyeyeballs==2.4.4
aiohttp==3.10.11
aiosignal==1.3.2
annotated-types==0.7.0
attrs==24.2.0
boto3==1.35.81
botocore==1.35.81
certifi==2024.8.30
charset-normalizer==3.4.0
frozenlist==1.5.0
idna==3.10
jmespath==1.0.1
loguru==0.7.3
magic-filter==1.0.12
multidict==6.1.0
propcache==0.2.1
pydantic==2.9.2
pydantic_core==2.23.4
pymemcache==4.0.0
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.10.4
six==1.17.0
typing_extensions==4.12.2
urllib3==2.2.3
yarl==1.18.3

View File

@ -23,7 +23,7 @@ services:
bot: bot:
build: build:
context: ./clicker_bot context: ./bot
depends_on: depends_on:
- backend - backend
volumes: volumes:
@ -32,6 +32,7 @@ services:
PROD: 1 PROD: 1
env_file: env_file:
- .env/prod/bot - .env/prod/bot
- .env/prod/web
command: command:
- /gunicorn.sh - /gunicorn.sh
restart: on-failure restart: on-failure