GomZik / vybar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vybar

TG bot

How to run

Create docker-compose.local.yml file with next content

version: '3.7'

services:
  telegram:
    environment:
      - VERBOSE=1
      - TELEGRAM_TOKEN=<bot token>
      - SECRET_KEY=<your super secret key>
docker-compose -f ./docker-compose.yml -f ./docker-compose.local.yml up --build

You can get token from @BotFather

Enviroment varables

VERBOSE=1  # turns verbose logging on
TELEGRAM_TOKEN=  # token
STORAGE_TYPE=file  # enum, possible values - file, spaces, s3
STORAGE_PATH=  # required fo STORAGE_TYPE=file, base path, where media files will stored
STORAGE_KEY=  # required for s3 or spaces storage type, access key for storage
STORAGE_SECRET=  # required for s3 or spaces storage type, access secret key for storage
STORAGE_ENDPOINT=  # required for spaces, endpoint for your bucket
STORAGE_REGION=  # required fo s3, region for your bucket
STORAGE_BUCKET=  # required for s3 or spaces storage type, bucket name
SECRET_KEY=  # required, security purposes

About


Languages

Language:Go 98.6%Language:Dockerfile 1.4%