mirror of
https://github.com/pischule/go-mention-all-bot.git
synced 2025-12-19 06:56:43 +00:00
Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user