docs: deploy to Zeabur (#104)

* docs: deploy to Zeabur

* docs: zh-CN for deploy to Zeabur
pull/110/head
Yuhang 2024-06-13 18:48:35 +08:00 committed by GitHub
parent 76982701da
commit a079b7f103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 63 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

View File

@ -1,9 +1,10 @@
# Install (Self hosted)
The Dify Self hosted Edition, which is the open-source on [GitHub](https://github.com/langgenius/dify), can be deployed in one of the following two ways:
The Dify Self hosted Edition, which is the open-source on [GitHub](https://github.com/langgenius/dify), can be deployed in one of the following three ways:
1. [Docker Compose Deployment](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose)
2. [Local Source Code Start](https://docs.dify.ai/getting-started/install-self-hosted/local-source-code)
3. [Deploy to Zeabur with One Click](https://docs.dify.ai/getting-started/install-self-hosted/zeabur)
### Contributing

View File

@ -0,0 +1,30 @@
# Deploy Dify to Zeabur
[Zeabur](https://zeabur.com) is a cloud platform that allows you to deploy Dify with one click. This guide will walk you through the process of deploying Dify to Zeabur.
## Prerequisites
Before you begin, you'll need the following:
- A Zeabur account. If you don't have one, you can sign up for free at [Zeabur](https://zeabur.com/).
- Upgrade your Zeabur account to Developer Plan($5 per month). You can upgrade your account from the [Zeabur Pricing](https://zeabur.com/pricing) page.
## Deploy Dify to Zeabur
There is a one-click deploy template for Dify on Zeabur. To get started, just press the button below:
[![Deploy to Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/1D4DOW)
After clicking the button, you'll be navigated to the template page on Zeabur where you can see the details and instructions for deployment.
<figure><img src="../../.gitbook/assets/zeabur-template-overview.jpeg" alt="Zeabur Template Overview"><figcaption></figcaption></figure>
Press on the Deploy button, you need to input a generated domain so that the domain can be binded to your Dify instance and inject to other services as environment variable. And then select your favourite region, press the deploy button, your Dify instance will be deployed in a few minutes.
<figure><img src="../../.gitbook/assets/zeabur-region-select.png" alt="Select Region"><figcaption></figcaption></figure>
After the deployment is done, you can see a project page in Zeabur dashboard like the following picture, and the domain you inputed in the deploying process will be binded to the NGINX service automatically, you can access your Dify instance through that domain.
<figure><img src="../../.gitbook/assets/zeabur-project.png" alt="Zeabur Project Overview"><figcaption></figcaption></figure>
You can also change the domain in the Networking tab in NGINX service page. You can refer to the [Zeabur Documentation](https://zeabur.com/docs/deploy/domain-binding) for more information.

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

View File

@ -0,0 +1,31 @@
# 部署 Dify 到 Zeabur
[Zeabur](https://zeabur.com) 是一个服务部署平台,可以通过一键部署的方式部署 Dify。本指南将指导您如何将 Dify 部署到 Zeabur。
## 前置要求
在开始之前,您需要以下内容:
- 一个 Zeabur 账户。如果您没有账户,可以在 [Zeabur](https://zeabur.com/) 注册一个免费账户。
- 升级您的 Zeabur 账户到开发者计划(每月 5 美元)。您可以从 [Zeabur 定价](https://zeabur.com/pricing) 了解更多信息。
## 部署 Dify 到 Zeabur
Zeabur 团队准备了一个一键部署模板,您只需点击下面的按钮即可开始:
[![Deploy to Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/1D4DOW)
点击按钮后,您将被导航到 Zeabur 上的模板页面,您可以在那里查看部署的详细信息和说明。
<figure><img src="../../.gitbook/assets/zeabur-template-overview.jpeg" alt="Zeabur Template Overview"><figcaption></figcaption></figure>
点击部署按钮后,您需要输入一个生成的域名,以便将域名绑定到您的 Dify 实例并注入到其他服务中作为环境变量。
然后选择您喜欢的区域,点击部署按钮,您的 Dify 实例将在几分钟内部署完成。
<figure><img src="../../.gitbook/assets/zeabur-region-select.png" alt="Select Region"><figcaption></figcaption></figure>
部署完成后,您可以在 Zeabur 控制台中看到一个项目页面,如下图所示,您在部署过程中输入的域名将自动绑定到 NGINX 服务,您可以通过该域名访问您的 Dify 实例。
<figure><img src="../../.gitbook/assets/zeabur-project.png" alt="Zeabur Project Overview"><figcaption></figcaption></figure>
你也可以在 NGINX 服务页面的 Networking 选项卡中更改域名。您可以参考 [Zeabur 文档](https://zeabur.com/docs/deploy/domain-binding) 了解更多信息。