BaoTa Panel Deployment
Deploy the backend
- Use the Maven tool window in IntelliJ IDEA to package the backend as a jar.

- Create a server directory and upload the jar.

- Add a Java project in BaoTa Panel.

- Start the application.

Deploy the admin app
- Build with
pnpm run build:antd.

- Upload the generated
distdirectory to the server.

- Add a website pointing to the uploaded build directory.

- Configure Nginx:
yaml
location /prod-api/{
proxy_pass http://127.0.0.1:6039/;
# 避免出现反代https域名出现502错误
proxy_ssl_server_name on;
# 设置原始的Host头信息
proxy_set_header Host $http_host;
}
# 解决刷新404问题
#vue-router配置
location / {
try_files $uri $uri/ @router;
index index.html;
}
location @router {
rewrite ^.*$ /index.html last;
}Deploy the user app
- Build with
npm run build.

- Upload the generated
distdirectory.

- Add a website for the user app.

- Configure Nginx:
yaml
location /api/{
proxy_pass http://127.0.0.1:6039/;
# 避免出现反代https域名出现502错误
proxy_ssl_server_name on;
# 关闭缓存实现打字机效果
proxy_buffering off;
# 设置原始的Host头信息
proxy_set_header Host $http_host;
}Configure firewall rules
Allow the application ports required by your deployment in the panel and server firewall.

Configure Tencent Cloud object storage
- In the Tencent Cloud console, open Object Storage and create a bucket.

- Configure the bucket information.



- Obtain the API credentials.

- Enter the storage credentials in the admin app.

- Enable the configuration.

- Upload a file to verify the configuration.

Configure email
- Obtain a mailbox authorization code. This example uses a 163 mailbox.

- Enable POP3/SMTP, complete the provider's verification, and retain the generated authorization code.

- Configure the mailbox in the application.

Install Weaviate
- Upload the Weaviate Compose YAML to the server. The screenshots show the older
script/docker/weaviatelayout; use the matching file from your checked-out version. For the current Compose setup, see Docker Deployment.

- From the file's directory, run
docker compose up -dwith Compose V2. Older installations may usedocker-compose up -d. - If pulling images times out, check Docker's network and proxy configuration.

java
{
"registry-mirrors": [
"https://mirror.aliyuncs.com",
"https://docker.registry.cyou",
"https://docker-cf.registry.cyou",
"https://dockercf.jsdelivr.fyi",
"https://docker.jsdelivr.fyi",
"https://dockertest.jsdelivr.fyi",
"https://mirror.baidubce.com",
"https://docker.m.daocloud.io",
"https://docker.mirrors.ustc.edu.cn",
"https://mirror.iscas.ac.cn",
"https://docker.nju.edu.cn",
"https://docker.rainbond.cc",
"https://docker.mirrors.sjtug.sjtu.edu.cn",
"https://b9pmyelo.mirror.aliyuncs.com",
"https://do.nark.eu.org",
"https://dc.j8.work",
"https://docker.m.daocloud.io",
"https://dockerproxy.com",
"https://docker.mirrors.ustc.edu.cn",
"https://docker.nju.edu.cn",
"https://noohub.ru",
"https://huecker.io",
"https://dockerhub.timeweb.cloud",
"https://registry.dockermirror.com"
]
}