Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 891 Bytes

INSTALL-1.md

File metadata and controls

51 lines (36 loc) · 891 Bytes

docker-compose: use already built docker container image

Prerequisites

Instructions

  1. Clone the repo
git clone https://github.com/mxssl/tg-captcha-bot.git
cd tg-captcha-bot
  1. Add a token from BotFather to env variable in docker-compose.yml
version: '3'

services:
  tg-captcha-bot:
    image: mxssl/tg-captcha-bot:v1.1.10
    volumes:
      - ./config.toml:/config.toml
    restart: unless-stopped
    environment:
      TGTOKEN: <your_telegram_bot_token_here>
  1. Pull the container
docker compose pull
  1. Run the container
docker compose up -d
  1. Check that the bot started correctly
docker compose ps
docker compose logs
  1. Add the bot to your supergroup and give it administrator privileges