Skip to content

Commit

Permalink
Merge pull request #1 from bestlaw66/patch-2
Browse files Browse the repository at this point in the history
docs: add new doc
  • Loading branch information
bestlaw66 authored Nov 7, 2024
2 parents 1aa2c6d + c38f2cd commit b266c4c
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 21 deletions.
1 change: 1 addition & 0 deletions docs/en/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [Distributed Deployment Guide](en/deployment/distributed-deployment-guide.md)
- Deployment By Third-party Tool
- [Install the HA Apollo cluster in Rainbond with one-click](en/deployment/third-party-tool-rainbond.md)
- [Quickly deploy Apollo based on the aaPanel](en/deployment/third-party-tool-btpanel.md)

- Admin Guide
- [Apollo Usage Guide](en/portal/apollo-user-guide.md)
Expand Down
58 changes: 58 additions & 0 deletions docs/en/deployment/third-party-tool-btpanel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# aaPanel (Applicable versions 7.0.11 and above) Deployment guidelines

## aaPanel Docker One-ClickInstall

<Steps>
Go to [aaPanel official website](https://www.aapanel.com/new/download.html), Select the script to download and install
(Skip this step if you already have it installed)

# Deploy Apollo using aaPanel

## 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](https://github.com/user-attachments/assets/a4aeb715-9e28-49b0-bb1d-3dd63d1394a2)

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](https://github.com/user-attachments/assets/d48a83b7-eea4-43ec-a07e-bce6442c6fec)

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

![install-Apollo](https://github.com/user-attachments/assets/e80dc7c0-e469-49b0-bd7f-225df36cdcab)

4. configure basic information such as the domain name, ports to complete the installation

Note:
The domain name is optional, if the domain name is filled, it can be managed through [Website]--> [Proxy Project], and you do not need to check [Allow external access] after filling in the domain name, otherwise you need to check it before you can access it through the port

![addApollo](https://github.com/user-attachments/assets/9623c6d9-d0e5-4f87-adea-e5a95133cf3c)

5. After installation, enter the domain name or IP+ port set in the previous step in the browser to access.

- Name: application name, default `Apollo-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.
- Web port: Default `8070`, can be modified by yourself
- Communication port: Default `8080`, can be modified by yourself
- Metadata port: Default `8090`, can be modified by yourself

6. 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 Apollo
- If you have set a domain name, please directly enter the domain name in the browser address bar, such as `http://demo.apollo.org`, to access the `Apollo` console.
- If you choose to access through `IP+Port`, please enter the domain name in the browser address bar to access `http://<aaPanelIP>:8070` to access the `Apollo` console.

![console](https://github.com/user-attachments/assets/6dd66f69-4c4d-4352-82aa-2eab0a5db33e)

> Default credentials: username `apollo`, password `admin`
1 change: 1 addition & 0 deletions docs/zh/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [部署架构](zh/deployment/deployment-architecture.md)
- 第三方工具部署
- [基于Rainbond一键安装高可用Apollo集群](zh/deployment/third-party-tool-rainbond.md)
- [基于宝塔面板快速部署 Apollo](zh/deployment/third-party-tool-btpanel.md)

- 管理端指南
- [Apollo使用指南](zh/portal/apollo-user-guide.md)
Expand Down
21 changes: 0 additions & 21 deletions docs/zh/deployment/quick-start-btpanel.md

This file was deleted.

35 changes: 35 additions & 0 deletions docs/zh/deployment/third-party-tool-btpanel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 基于宝塔面板部署 Apollo

## 前提

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

## 部署

1. 登录宝塔面板,在左侧菜单栏中点击 `Docker`
![Docker](https://github.com/user-attachments/assets/6642c5b8-892e-4703-84c2-f82fcc841ceb)

3. 首次会提示安装`Docker``Docker Compose`服务,点击立即安装,若已安装请忽略。
![安装环境](https://github.com/user-attachments/assets/c63bda9b-eb07-4352-be7e-c12dbf457018)

4. 安装完成后在`Docker-应用商店`中找到 `Apollo`,点击`安装`
![安装](https://github.com/user-attachments/assets/21591d93-ecd9-470d-9590-f0e1938d9012)

5. 设置域名等基本信息,点击`确定`
- 名称:应用名称,默认`apollo_随机字符`
- 版本选择:默认`latest`
- 允许外部访问:如您需通过`IP+Port`直接访问,请勾选,如您已经设置了域名,请不要勾选此处
- WEB 端口:默认`8070`,可自行修改
- 通信端口:默认`8080`,可自行修改
- 元数据端口:默认`8090`,可自行修改

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



## 访问 Apollo
- 请在浏览器地址栏中输入域名访问 `http://<宝塔面板IP>:8070`,即可访问 `Apollo` 控制台。
![控制台](https://github.com/user-attachments/assets/6dd66f69-4c4d-4352-82aa-2eab0a5db33e)

> 默认登录信息: username `apollo`, password `admin`

0 comments on commit b266c4c

Please sign in to comment.