Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit 13a7f7b

Browse files
committed
docs: Revise Docker installation instructions to emphasize automatic configuration and add warning for manual setup
1 parent f8e41eb commit 13a7f7b

File tree

2 files changed

+20
-15
lines changed

2 files changed

+20
-15
lines changed

docs/installation/bt-docker-installation.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,29 @@
3636

3737
### 方法二:使用自定义镜像
3838

39-
1. 在宝塔面板Docker功能中,点击 **镜像管理**
40-
2. 点击 **获取镜像** -> **拉取镜像**
41-
3. 输入镜像名称:`calciumion/new-api:latest`
42-
4. 点击 **提交**,等待镜像拉取完成
43-
5. 拉取完成后,进入 **容器列表**,点击 **创建容器**
44-
6. 填写以下信息:
45-
- 容器名称:`new-api`(可自定义)
46-
- 镜像:选择刚刚拉取的`calciumion/new-api:latest`
47-
- 端口映射:添加`3000:3000`
48-
- 目录映射:添加`/your/host/path:/data`(替换为您的主机路径)
49-
- 环境变量:根据需要添加(如TZ=Asia/Shanghai等)
50-
7. 点击 **提交**,完成安装
39+
> 强烈建议通过“应用商店”安装并自动完成配置。本节为高级用法,适合明确了解Docker与宝塔容器配置的用户。
40+
41+
??? warning "我确认要手动设置镜像,出现问题自行解决"
42+
仅在您勾选并同意上述确认后,再参考以下步骤手动配置自定义镜像:
43+
44+
1. 在宝塔面板Docker功能中,点击 **镜像管理**
45+
2. 点击 **获取镜像** -> **拉取镜像**
46+
3. 输入镜像名称:`calciumion/new-api:latest`
47+
4. 点击 **提交**,等待镜像拉取完成
48+
5. 拉取完成后,进入 **容器列表**,点击 **创建容器**
49+
6. 填写以下信息:
50+
- 容器名称:`new-api`(可自定义)
51+
- 镜像:选择刚刚拉取的`calciumion/new-api:latest`
52+
- 端口映射:添加`3000:3000`
53+
- 目录映射:添加`/your/host/path:/data`(替换为您的主机路径)
54+
- 环境变量:根据需要添加(如TZ=Asia/Shanghai等)
55+
7. 点击 **提交**,完成安装
5156

5257
## 配置与访问
5358

5459
安装完成后,您可以通过以下地址访问New API:
5560

56-
```
57-
http://服务器IP:3000
58-
```
61+
http://服务器IP:3000
5962

6063
首次访问将自动引导到初始化页面。按照页面指引设置管理员账号与密码(仅首次安装需要),完成后使用所设置的管理员账号登录。
6164

newapi/overrides/assets/stylesheets/home.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@
910910

911911
@media screen and (max-width: 768px) {
912912
.tx-architecture {
913+
display: none;
913914
padding: 0.8rem;
914915
margin: 0.8rem auto 0.6rem;
915916
gap: 0.6rem;
@@ -942,6 +943,7 @@
942943

943944
@media screen and (max-width: 480px) {
944945
.tx-architecture {
946+
display: none;
945947
margin: 0.6rem auto 0.4rem;
946948
padding: 0.6rem;
947949
gap: 0.5rem;

0 commit comments

Comments
 (0)