Skip to content

Commit

Permalink
feat: add zeabur button
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Jul 24, 2024
1 parent c9a0d9c commit 9e111c9
Show file tree
Hide file tree
Showing 3 changed files with 322 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ English | [简体中文](https://github.com/Deeptrain-Community/chatnio/blob/mas

[Official Website](https://chatnio.net) | [Docs](https://docs.chatnio.net) | [SDKs](https://docs.chatnio.net/developers/sdk) | [QQ Group](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=1mv1Y8SyxnQVvQCoqhmIgVTbwQmkNmvQ&authKey=5KUA9nJPR29nQwjbsYNknN2Fj6cKePkRes%2B1QZy84Dr4GHYVzcvb0yklxiMMNVJN&noverify=0&group_code=749482576)

[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/M86XJI)

[![Chat Nio: #1 Repo Of The Day](https://trendshift.io/api/badge/repositories/6369)](https://trendshift.io/repositories/6369)

[![code-stats](https://stats.deeptrain.net/repo/Deeptrain-Community/chatnio)](https://stats.deeptrain.net)
Expand Down Expand Up @@ -135,7 +137,15 @@ English | [简体中文](https://github.com/Deeptrain-Community/chatnio/blob/mas
## 📦 Deployment
*Once deployment is successful, the administrator account is `root`, the default password is `chatnio123456`*

1. ⚡ Install with Docker Compose (Recommended)
1. ✨ Zeabur (One-Click Deployment)

[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/M86XJI)

> Zeabur offers a certain amount of free credits, allowing one-click deployment in non-paid regions, and also supports flexible scaling through subscription plans and pay-as-you-go options.
> 1. Click `Deploy` to start the deployment process, enter the domain name you wish to bind, and wait for the deployment to complete.
> 2. Once the deployment is complete, visit your domain and log in to the admin panel using the username `root` and password `chatnio123456`. Please follow the prompts in the chatnio backend to change the password promptly.
2. ⚡ Install with Docker Compose (Recommended)

> The host mapping address is `http://localhost:8000` after successful operation.
Expand All @@ -158,7 +168,7 @@ English | [简体中文](https://github.com/Deeptrain-Community/chatnio/blob/mas
> - Mount directory for Redis database: ~/**redis**
> - Mount directory for configuration files: ~/**config**

2. ⚡ Docker installation (when running lightweight, it is often used in external _Mysql/RDS_ service)
3. ⚡ Docker installation (when running lightweight, it is often used in external _Mysql/RDS_ service)
> The host mapping address is `http://localhost:8094` after successful operation. If you need to use the stable version, please use `programzmh/chatnio:stable` instead of `programzmh/chatnio:latest`.
```shell
docker run -d --name chatnio \
Expand Down Expand Up @@ -190,7 +200,7 @@ English | [简体中文](https://github.com/Deeptrain-Community/chatnio/blob/mas
docker pull programzmh/chatnio:latest
```
3. ⚒ Custom Build and Install (Highly Customizable)
4. ⚒ Custom Build and Install (Highly Customizable)
> After deployment, the default port is **8094**, and the access address is `http://localhost:8094`.
> Configuration options (~/config/**config.yaml**) can be overridden using environment variables, such as the `MYSQL_HOST` environment variable can override the `mysql.host` configuration item.
Expand Down
11 changes: 11 additions & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

[English](./README.md) · 简体中文 · [官网](https://chatnio.com) · [社区](https://chatnio.com/guide/#%F0%9F%9B%A0%EF%B8%8F-%E7%A7%81%E6%9C%89%E5%8C%96%E9%83%A8%E7%BD%B2) · [开发者资源](https://chatnio.com/developers)


[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/M86XJI)

[![Chat Nio: #1 Repo Of The Day](https://trendshift.io/api/badge/repositories/6369)](https://trendshift.io/repositories/6369)

<img alt="Chat Nio Preview" src="./screenshot/chatnio.png" width="100%" style="border-radius: 8px">
Expand Down Expand Up @@ -83,6 +86,14 @@
> [!TIP]
> **部署成功后, 管理员账号为 `root`, 密码默认为 `chatnio123456`**
### ✨ Zeabur (一键部署)
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/M86XJI)

> Zeabur 提供一定的免费额度, 可以使用非付费区域进行一键部署,同时也支持计划订阅和弹性计费等方式弹性扩展。
> 1. 点击 `Deploy` 进行部署, 并输入你希望绑定的域名,等待部署完成。
> 2. 部署完成后, 请访问你的域名, 并使用用户名 `root` 密码 `chatnio123456` 登录后台管理,请按照提示在 chatnio 后台及时修改密码。

### ⚡ Docker Compose 安装 (推荐)
> [!NOTE]
> 运行成功后, 宿主机映射地址为 `http://localhost:8000`
Expand Down
Loading

0 comments on commit 9e111c9

Please sign in to comment.