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:
committed by
GitHub
parent
41082724d9
commit
d7529ce7e8
14
README.md
14
README.md
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user