mirror of
https://github.com/pischule/go-mention-all-bot.git
synced 2025-12-19 06:56:43 +00:00
update readme, fix docker-compose
This commit is contained in:
1
.github/workflows/docker-image.yml
vendored
1
.github/workflows/docker-image.yml
vendored
@@ -5,6 +5,7 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
|
- 'docker-compose.yml'
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ Second version of [mention-all-the-bot](https://github.com/pischule/mention-all-
|
|||||||
## how to run this
|
## how to run this
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ export TOKEN=???????
|
$ wget https://raw.githubusercontent.com/pischule/go-mention-all-bot/master/docker-compose.yml
|
||||||
$ go run main.go
|
$ echo "TELEGRAM_TOKEN=<your-telegram-token>" >> .env
|
||||||
|
$ docker-compose up
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
version: "2.0"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
bot:
|
bot:
|
||||||
image: pischule/go-mention-all-bot
|
image: pischule/go-mention-all-bot
|
||||||
|
|||||||
Reference in New Issue
Block a user