Sign inSign up

assorium/comitet-tgrm-bot

By assorium

•Updated over 6 years ago

Image
0

100K+

assorium/comitet-tgrm-bot repository overview

Docker Cloud Automated build Docker Cloud Build Status Docker Pulls

Latest Github tag

⁠Environment variables

Dotenv support. You can create .env file with this variables in the app folder

const PORT = +process.env.PORT || 3019;
const DEBUG = process.env.DEBUG || false;
//webhook token
const TOKEN = process.env.TOKEN || false;
//webhook url, to automate webhook subscription
//WEBHOOK_URL = process.env.WEBHOOK_URL || false;

//API keys
const TJ_KEY = process.env.TJ_KEY || false;
const VC_KEY = process.env.VC_KEY || false;
const DTF_KEY = process.env.DTF_KEY || false;

⁠Docker

docker run -p 3019:3019 --name cmtt-bot-tgrm \
  -e TOKEN=123 -e TJ_KEY=123 \
  assorium/comitet-tgrm-bot:latest

⁠Usage

Subscribe to webhooks https://www.notion.so/dd8bf6f5c1fd430286530644d4c362df⁠
You url is http://[APP_IP]:3019/webhook_tj?token=[TOKEN]

Webhook path: webhook_tj
webhook_dtf
webhook_vc

Tag summary

Content type

Image

Digest

Size

28.1 MB

Last updated

over 6 years ago

docker pull assorium/comitet-tgrm-bot