Update README.md

This commit is contained in:
Maksim Pischulenok
2022-11-22 23:00:20 +03:00
committed by GitHub
parent 41082724d9
commit d7529ce7e8

View File

@@ -5,7 +5,15 @@ Second version of [mention-all-the-bot](https://github.com/pischule/mention-all-
## how to run this ## how to run this
```bash ```bash
$ wget https://raw.githubusercontent.com/pischule/go-mention-all-bot/master/docker-compose.yml $ echo 'version: "2.0"
$ echo "TELEGRAM_TOKEN=<your-telegram-token>" >> .env services:
$ docker-compose up bot:
image: pischule/go-mention-all-bot
restart: unless-stopped
volumes:
- ./data:/app/data
environment:
TELEGRAM_TOKEN: "${TELEGRAM_TOKEN}"' > docker-compose.yml
$ echo 'TELEGRAM_TOKEN=<place-your-bot-token-here>' > .env
$ docker compose up -d
``` ```