This repository contains a Dockerized Telegram bot that is designed to be easily deployed and scaled using Docker containers. The bot was created as part of the DevOps module during the PT_START internship.
- Dockerized architecture for easy deployment and scalability
- Replication for high availability and load balancing
- Custom images for the bot and its dependencies
Before you can run the Telegram bot, make sure you have the following prerequisites installed:
- Docker: Install Docker
- Docker Compose: Install Docker Compose
To get started with the Telegram bot, follow these steps:
-
Clone this repository:
git clone https://github.com/ExxRyan/devops_bot.git
-
Build the custom Docker images:
docker-compose build
-
Start the Docker containers:
docker-compose up -d
-
Verify that the Telegram bot is running:
docker-compose ps
You should see the bot container listed as "Up".
To scale the Telegram bot and handle increased traffic, you can use Docker's built-in scaling capabilities. Here's an example of scaling the bot to 3 replicas: