- Text
- Photo
- Create the
.env
file based on the.env.dev
- Put your telegram bot token into the
.env
file. - If you want to change the rabbitmq settings in the
.env
file, you should update them indocker-compose.yaml
in the rmq section. - Build base image
- Run containers
docker build -f deploy/Dockerfile -t tg:latest .
docker-compose -f deploy/docker-compose.yaml --project-directory . up
- aiogram aiogram is modern and fully asynchronous framework for Telegram Bot API.
- aio-pika aio-pika is a wrapper for the aiormq for asyncio and humans.
- dependency injector Dependency injection framework for Python.