This bot encourages you and your friends to drink beverages like WATER. Currently only in german, but a placeholder for english and other languages have been created.
The bot is available in https://t.me/tg_saufbot and can be triggered with /saufen
- Create docker-compose.yml file in your favourite directory:
#example:
version: '3'
services:
telegram-saufbot:
container_name: telegram_saufbot
build:
context: https://github.com/The-May/docker_saufbot.git
dockerfile: Dockerfile # Path to the Dockerfile within the repository
environment:
- USE_LANGUAGE=de # Set your desired language here
- TELEGRAM_BOT_TOKEN=user:pass # Set your Telegram bot token here
volumes:
- telegram_saufbot_data:/app # Mount a named volume for app files
restart: always
volumes:
telegram_saufbot_data: # Friendly name for the volume
- run docker-compose.sh to deploy docker-compose.yml file (be sure to maybe change paths)
alternatively for testing (for example in vscode):
- optional: set venv->
pip install -r requirements.txt
->venv\Scripts\activate
- install requirements.txt in venv ->
pip install -r requirements.txt
- set env manually:
$env:USE_LANGUAGE="de"
$env:TELEGRAM_BOT_TOKEN="a:b"
- start saufbot.py with python
##protip:
When updating, use docker builder prune --all --force
before using docker-compose up --build --force-recreate