Simple Docker image with Telegram Bot API server inside
1.7K
This project provides a Docker container for the Telegram Bot API server. With this container, you can quickly and easily deploy the Telegram Bot API server with customizable settings using environment variables.
It is essential to replace the default values for TELEGRAM_API_ID
and TELEGRAM_API_HASH with your own credentials. You can obtain
these credentials from the Telegram Core API website.
version: "3.9"
services:
telegram-bot-api:
restart: unless-stopped
image: evilfreelancer/docker-telegram-bot-api:latest # use image instead of build.context
environment:
TELEGRAM_STAT: "true"
TELEGRAM_LOCAL: "true"
TELEGRAM_API_ID: "123"
TELEGRAM_API_HASH: "hash"
volumes:
- ./telegram-bot-api_data:/var/lib/telegram-bot-api
ports:
- "127.0.0.1:8081:8081"
- "127.0.0.1:8082:8082"
logging:
driver: "json-file"
options:
max-size: "50k"
Content type
Image
Digest
sha256:f46538ce8…
Size
16.4 MB
Last updated
over 2 years ago
docker pull evilfreelancer/docker-telegram-bot-api