Telegram-bot (python, aiogram)
Captcha for incoming telegram chats users.
Create and start container:
$ export BOT_TOKEN=<BOT_TOKEN>
$ export CHAT_ID_1=<CHAT_ID_1>
$ export CHAT_ID_2=<CHAT_ID_2>
$ export CHAT_ID_3=<CHAT_ID_3>
$ export CHAT_ID_4=<CHAT_ID_4>
$ docker-compose up -d
Stop lifted containers:
$ docker-compose stop
Start stopped containers:
$ docker-compose start
Stop and delete containers and network:
$ docker-compose down
Remove image:
$ docker rmi captcha_bot
Clear logs:
$ sudo rm -rf logs/*
Execute a command in a running container:
$ docker exec -it CaptchaBot bash