*# Just another telegram-bot
cargo install just
just runFor linting, code style and etcetera, we use pre-commit
pre-commit install
pre-commit run --all-filesfor production docker-compose.yaml
services:
bot:
image: index.docker.io/eduzen/bot:latestrestart: alwaysenv_file:
- .envvolumes:
- ./db.sqlite3:/code/db.sqlite3watchtower:
image: index.docker.io/containrrr/watchtowervolumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/eduzen/.docker/config.json:/config.json:rocommand: --interval 30 --cleanup