Telegram bot built with Python, MongoDB, and APScheduler for real-time cryptocurrency price.
641
A feature-rich Telegram bot built with Python for checking real-time cryptocurrency prices, managing periodic price update subscriptions, and setting custom price alerts. This project is containerized with Docker for easy deployment.
python-telegram-botpymongo async driver)APSchedulerThis application is containerized and available on Docker Hub. The easiest way to run it is using Docker.
Create a .env file in your directory with the following content:
TELEGRAM_TOKEN="YOUR_TELEGRAM_TOKEN"
MONGO_URI="mongodb://your_mongo_user:your_mongo_password@your_mongo_host:27017/"
DB_NAME="crypto_bot_db"
WALLEX_API_KEY="YOUR_API_KEY"
Pull the image from Docker Hub and run it using the .env file:
docker run -d --name crypto-bot --env-file ./.env rezagp/crypto-telegram-bot:latest
For an easier setup that includes a MongoDB service, you can use the provided docker-compose.yml file.
Create the .env file as described above.
Run the following command in your terminal:
docker-compose up -d
This will start both the bot and a dedicated MongoDB container.
Content type
Image
Digest
sha256:4fc6a8636…
Size
47.6 MB
Last updated
about 1 year ago
docker pull rezagp/crypto-telegram-bot