Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
morooi committed Jul 19, 2023
1 parent 835c6cf commit 857a6ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
File renamed without changes.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@ docker pull morooi/morooi-telegram-bot-go:latest
### 编辑 docker-compose

```yaml
TOKEN = "xxx" # telegram-bot-API-TOKEN
services:
morooi-telegram-bot-go:
container_name: morooi-telegram-bot-go
image: morooi/morooi-telegram-bot-go:latest
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/user/telegram.db:/app/telegram.db
environment:
TOKEN: "YOUR TELEGRAM BOT API TOKEN" # <-- 更改成你的 token
restart: unless-stopped
```
### 运行
Expand Down
Binary file modified telegram.db
Binary file not shown.

0 comments on commit 857a6ad

Please sign in to comment.