Бот для проверки в утекших базах данных
Find a file
2021-07-08 00:09:38 +00:00
src make it better 2021-07-08 00:09:38 +00:00
tests@9f2e05c0cd make it better 2021-07-07 22:59:34 +00:00
.dockerignore make it better 2021-07-07 22:59:34 +00:00
.env.example make it better 2021-07-07 22:59:34 +00:00
.eslintignore make it better 2021-07-07 22:59:34 +00:00
.eslintrc make it better 2021-07-07 22:59:34 +00:00
.gitignore make it better 2021-07-07 22:59:34 +00:00
.prettierrc make it better 2021-07-07 22:59:34 +00:00
Dockerfile make it better 2021-07-07 22:59:34 +00:00
ecosystem.config.js make it better 2021-07-07 22:59:34 +00:00
index.js make it better 2021-07-07 22:59:34 +00:00
LICENSE make it better 2021-07-07 22:59:34 +00:00
package.json make it better 2021-07-08 00:09:38 +00:00
Procfile make it better 2021-07-07 22:59:34 +00:00
README.md make it better 2021-07-07 22:59:34 +00:00

Telegraf Bot Pattern

example

Change .env.example to .env

Started init: yarn install and npm install pm2 -g

Mode Default: yarn dev - For Development

Mode Cluster: yarn prod - In Production bot

Mode Production PM2: yarn pm:prod yarn pm:stop yarn pm:up // pm2 startup

Example .env ( BOT_CLUSTER_CORE = 2 ) or AutoScale ( BOT_CLUSTER_CORE = 0 )