:docs: Add docker deployment

This commit is contained in:
rainerosion 2020-12-15 03:08:49 +08:00
parent 3b0331c3a6
commit cb773010eb
2 changed files with 18 additions and 1 deletions

View File

@ -10,7 +10,7 @@ A Simple Telebot for E5 Renewal
`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)
## 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)
### 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
Download the binary files of the corresponding system on the [Releases](https://github.com/rainerosion/E5SubBot/releases) page and upload it to the server

View File

@ -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)
### 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)页面下载对应系统的二进制文件,上传至服务器