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
|
## 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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user