Update README.md

This commit is contained in:
2023-04-26 11:46:21 +03:00
parent deeca7a5cc
commit 00233afdff

View File

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