Sign inSign up

evilfreelancer/docker-telegram-bot-api

By evilfreelancer

•Updated over 2 years ago

Simple Docker image with Telegram Bot API server inside

Image
1

1.7K

evilfreelancer/docker-telegram-bot-api repository overview

⁠Telegram Bot API Docker

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.

⁠YML example

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"

Tag summary

Content type

Image

Digest

sha256:f46538ce8…

Size

16.4 MB

Last updated

over 2 years ago

docker pull evilfreelancer/docker-telegram-bot-api