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 ## how to run this
```bash ```shell
$ echo 'version: "2.0" $ cat > docker-compose.yml << EOL
services: services:
bot: bot:
image: pischule/go-mention-all-bot image: ghcr.io/pischule/go-mention-all-bot:master
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./data:/app/data - ./data:/app/data
environment: environment:
TELEGRAM_TOKEN: "${TELEGRAM_TOKEN}"' > docker-compose.yml TELEGRAM_TOKEN: "<your-bot-token>"
$ echo 'TELEGRAM_TOKEN=<place-your-bot-token-here>' > .env EOL
$ docker compose up -d $ docker compose up -d
``` ```