:docs: Add docker deployment
This commit is contained in:
parent
3b0331c3a6
commit
cb773010eb
11
README.md
11
README.md
@ -10,7 +10,7 @@ A Simple Telebot for E5 Renewal
|
|||||||
|
|
||||||
`Golang` + `SQLite`
|
`Golang` + `SQLite`
|
||||||
|
|
||||||
DEMO: https://t.me/raindev_bot (This DEMO is for testing only)
|
DEMO: https://t.me/raindev_bot (This DEMO is agesor testing only)
|
||||||
|
|
||||||
Communication: [Telegram Group](https://t.me/e5subbot)
|
Communication: [Telegram Group](https://t.me/e5subbot)
|
||||||
## Introduction
|
## Introduction
|
||||||
@ -46,6 +46,15 @@ Calling [Outlook ReadMail API](https://docs.microsoft.com/en-us/graph/api/user-l
|
|||||||
|
|
||||||
Bot creation tutorial : [Microsoft](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-telegram?view=azure-bot-service-4.0)
|
Bot creation tutorial : [Microsoft](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-telegram?view=azure-bot-service-4.0)
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
```bash
|
||||||
|
wget --no-check-certificate -O /root/config.yml https://raw.githubusercontent.com/rainerosion/E5SubBot/master/config.yml.example
|
||||||
|
# Modify configuration file
|
||||||
|
vim /root/config.yml
|
||||||
|
docker run -itd -v /root/config.yml:/root/config.yml --restart=always --name e5bot rainerosion/e5subbot-sqlite
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Binary Deployment
|
### Binary Deployment
|
||||||
|
|
||||||
Download the binary files of the corresponding system on the [Releases](https://github.com/rainerosion/E5SubBot/releases) page and upload it to the server
|
Download the binary files of the corresponding system on the [Releases](https://github.com/rainerosion/E5SubBot/releases) page and upload it to the server
|
||||||
|
|||||||
@ -44,6 +44,14 @@ E5订阅为开发者订阅,只要调用相关API就有可能续期
|
|||||||
|
|
||||||
Bot创建教程:[Google](https://www.google.com/search?q=telegram+Bot%E5%88%9B%E5%BB%BA%E6%95%99%E7%A8%8B)
|
Bot创建教程:[Google](https://www.google.com/search?q=telegram+Bot%E5%88%9B%E5%BB%BA%E6%95%99%E7%A8%8B)
|
||||||
|
|
||||||
|
### Docker部署
|
||||||
|
```bash
|
||||||
|
wget --no-check-certificate -O /root/config.yml https://raw.githubusercontent.com/rainerosion/E5SubBot/master/config.yml.example
|
||||||
|
# 修改配置文件中的信息
|
||||||
|
vim /root/config.yml
|
||||||
|
docker run -itd -v /root/config.yml:/root/config.yml --restart=always --name e5bot rainerosion/e5subbot-sqlite
|
||||||
|
```
|
||||||
|
|
||||||
### 二进制文件
|
### 二进制文件
|
||||||
|
|
||||||
在[Releases](https://github.com/rainerosion/E5SubBot/releases)页面下载对应系统的二进制文件,上传至服务器
|
在[Releases](https://github.com/rainerosion/E5SubBot/releases)页面下载对应系统的二进制文件,上传至服务器
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user