Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add baota\aaPanel deployment #1041

Merged
merged 6 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions docs/deployment/deployment-aapanel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
sidebar_position: 6
title: aaPanel Deployment
keywords: ["aaPanel"]
description: aaPanel Deployment
---

This article introduces the use of `aaPanel` to deploy the `Apache ShenYu` gateway.

> Before you read this document, you need to complete some preparations before deploying Shenyu according to the [Deployment Prerequisites document](./deployment-before.md).

### Prerequisite

To install aaPanel, go to the [aaPanel](https://www.aapanel.com/new/download.html#install) official website and select the corresponding script to download and install.

### Deployment

aaPanel(Applicable versions 7.0.11 and above) Deployment guidelines

1. Log in to aaPanel and click `Docker` in the menu bar
![Docker](/img/shenyu/deployment/aapanel/install.png)

2. The first time you will be prompted to install the `Docker` and `Docker Compose` services, click Install Now. If it is already installed, please ignore it.
![install](/img/shenyu/deployment/aapanel/install2.png)

3. After the installation is complete, find `ShenYu` in `One-Click Install` and click `install`

![install_HertzBeat](/img/shenyu/deployment/aapanel/install-ShenYu.png)

4. Set the basic information such as domain name and click 'OK'

![add](/img/shenyu/deployment/aapanel/addShenYu.png)



- Name: application name, default `ShenYu-random characters`
- Version selection: default `latest`
- Domain name: If you need to access directly through the domain name, please configure the domain name here and resolve the domain name to the server
- Allow external access: If you need direct access through `IP+Port`, please check. If you have set up a domain name, please do not check here.
- Port: Web management port `9095`, can be modified by yourself

After submission, the panel will automatically initialize the application, which will take about `1-3` minutes. It can be accessed after the initialization is completed.


### Visit ShenYu

- If you have set a domain name, please directly enter the domain name in the browser address bar, such as `http://demo.ShenYu.apache.org`, to access the `LobeChat`ShenYu console.
- If you choose to access through `IP+Port`, please enter the domain name in the browser address bar to access `http://<aaPanelIP>:9095` to access the `ShenYu` console.
![console](/img/shenyu/deployment/aapanel/console.png)

Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
sidebar_position: 8
title: 通过宝塔面板部署
description: 通过宝塔面板部署
---

本文介绍使用 `宝塔面板` 来部署 `Apache ShenYu` 网关。

> 在阅读本文档前,你需要先阅读[部署先决条件](./deployment-before.md)文档来完成部署 `shenyu` 前的环境准备工作。

### 前提

- 仅适用于宝塔面板9.2.0及以上版本
- 安装宝塔面板,前往[宝塔面板](https://www.bt.cn/new/download.html)官网,选择正式版的脚本下载安装


### 部署

1. 登录宝塔面板,在左侧菜单栏中点击 `Docker`
![Docker](/img/shenyu/deployment/baota/20241010103723.png)

2. 首次会提示安装`Docker`和`Docker Compose`服务,点击立即安装,若已安装请忽略。
![安装环境](/img/shenyu/deployment/baota/20241010104431.png)

3. 安装完成后在`Docker-应用商店`中找到 `ShenYu`,点击`安装`
![安装](/img/shenyu/deployment/baota/20241010204817.png)

4. 设置域名等基本信息,点击`确定`
![设置](/img/shenyu/deployment/baota/20241010100617.png)
- 名称:应用名称,默认`shenyu_随机字符`
- 版本选择:默认`latest`
- 允许外部访问:如您需通过`IP+Port`直接访问,请勾选,如您已经设置了域名,请不要勾选此处
- 端口:默认`9095`,可自行修改
- api端口:默认`9195`,可自行修改

5. 提交后面板会自动进行应用初始化,大概需要`1-3`分钟,初始化完成后即可访问。


### 访问 ShenYu

- 请在浏览器地址栏中输入域名访问 `http://<宝塔面板IP>:9095`,即可访问 `ShenYu` 控制台。
![控制台](/img/shenyu/deployment/baota/20241010102246.png)

> 默认用户名`admin`默认密码`123456`
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
sidebar_position: 8
title: 通过宝塔面板部署
description: 通过宝塔面板部署
---

本文介绍使用 `宝塔面板` 来部署 `Apache ShenYu` 网关。

> 在阅读本文档前,你需要先阅读[部署先决条件](./deployment-before.md)文档来完成部署 `shenyu` 前的环境准备工作。

### 前提

- 仅适用于宝塔面板9.2.0及以上版本
- 安装宝塔面板,前往[宝塔面板](https://www.bt.cn/new/download.html)官网,选择正式版的脚本下载安装


### 部署

1. 登录宝塔面板,在左侧菜单栏中点击 `Docker`
![Docker](/img/shenyu/deployment/baota/20241010103723.png)

2. 首次会提示安装`Docker`和`Docker Compose`服务,点击立即安装,若已安装请忽略。
![安装环境](/img/shenyu/deployment/baota/20241010104431.png)

3. 安装完成后在`Docker-应用商店`中找到 `ShenYu`,点击`安装`
![安装](/img/shenyu/deployment/baota/20241010204817.png)

4. 设置域名等基本信息,点击`确定`
![设置](/img/shenyu/deployment/baota/20241010100617.png)
- 名称:应用名称,默认`shenyu_随机字符`
- 版本选择:默认`latest`
- 允许外部访问:如您需通过`IP+Port`直接访问,请勾选,如您已经设置了域名,请不要勾选此处
- 端口:默认`9095`,可自行修改
- api端口:默认`9195`,可自行修改

5. 提交后面板会自动进行应用初始化,大概需要`1-3`分钟,初始化完成后即可访问。


### 访问 ShenYu

- 请在浏览器地址栏中输入域名访问 `http://<宝塔面板IP>:9095`,即可访问 `ShenYu` 控制台。
![控制台](/img/shenyu/deployment/baota/20241010102246.png)

> 默认用户名`admin`默认密码`123456`
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/shenyu/deployment/aapanel/console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/shenyu/deployment/aapanel/install.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/shenyu/deployment/aapanel/install2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading