On Telegram: @PlaneGoesTobot
-
Clone the repo
-
Create a .env file with the following variables
NETWORK_NAME=plane_bot
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_BOT_USERNAME=your_bot_username
TELEGRAM_BOT_WEBHOOK_URL=https://your.domain.com
TELEGRAM_BOT_WEBHOOK_DISABLE=0 # 0: Using your own domain, 1: Using ngrok domain
APPLICATION_PORT=8000
APPLICATION_HOST_NAME=plane_bot_app
NGROK_AUTHTOKEN=your_ngrok_token
NGROK_HOST_NAME=ngrok
NGROK_PORT=4040
NGROK_REGION=us
NGROK_VERSION="2"
- Build the docker image
docker build -t plane_bot .
- Create a docker network
docker network create plane_bot
- Run the
docker compose
command
docker-compose up -d
- Enjoy