https://github.com/gomzik/vybar
https://github.com/gomzik/vybar
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gomzik/vybar
- Owner: GomZik
- Created: 2020-07-17T19:16:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T03:19:04.000Z (almost 5 years ago)
- Last Synced: 2024-12-31T21:42:27.728Z (5 months ago)
- Language: Go
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vybar
TG bot
## How to run
Create docker-compose.local.yml file with next content
```yaml
version: '3.7'services:
telegram:
environment:
- VERBOSE=1
- TELEGRAM_TOKEN=
- SECRET_KEY=
``````bash
docker-compose -f ./docker-compose.yml -f ./docker-compose.local.yml up --build
```You can get token from [@BotFather](https://t.me/botfather)
## Enviroment varables
```bash
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
```