Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 999 Bytes

README.md

File metadata and controls

54 lines (36 loc) · 999 Bytes

✈️ I Wish I Knew Where That Plane Goes To

AirPlane

Online Available

On Telegram: @PlaneGoesTobot

How to use

  1. Clone the repo

  2. 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"
  1. Build the docker image
docker build -t plane_bot .
  1. Create a docker network
docker network create plane_bot
  1. Run the docker compose command
docker-compose up -d
  1. Enjoy