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 -dStop lifted containers:
$ docker-compose stopStart stopped containers:
$ docker-compose startStop and delete containers and network:
$ docker-compose downRemove image:
$ docker rmi captcha_botClear logs:
$ sudo rm -rf logs/*Execute a command in a running container:
$ docker exec -it CaptchaBot bash