Deliverzes
is courier delivery message, transforming your http request to telegram bot chat.
Pipeline: https://gitlab.com/aeidelos/deliverzes/pipelines
To run this program, you will need
- Golang 1.10+
- Go Mod Enabled
- Badger K/V DB
- Telebot
- GotEnv
- Copy environment file from
env.example
to be.env
or useENVIRONMENT VARIABLE
directly - Verify and download dependencies
go mod download && go mod verify
- Run the app
go run main.go
Create directory for Mounted storage
mkdir /tmp/badger
Run the latest Image
docker run -v /tmp/badger:/tmp/badger --env APP_URI=0.0.0.0 --env HTTP_PORT=8000 --env TELEGRAM_TOKEN=YOUR_TELEGRAM_TOKEN --env TELEGRAM_POLLING_INTERVAL=1 --env DB_PATH=/tmp/badger -p 8000:8000 registry.gitlab.com/aeidelos/deliverzes:latest