Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
99bf9c55
authored
Nov 23, 2024
by
CalciumIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
112f9af0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
README.md
+1
-1
No files found.
README.md
View file @
99bf9c55
...
...
@@ -89,7 +89,7 @@ docker run --name new-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
SQL_DSN
=
"root:123456@tcp(localhost:3306)/oneapi"
-e
TZ
=
Asia/Shanghai
-v
/home/ubuntu/data/new-api:/data calciumion/new-api:latest
```
### 使用宝塔面板Docker功能部署
安装宝塔面板 (
**9.2.0版本**
及以上),前往
宝塔面板
官网,选择正式版的脚本下载安装
安装宝塔面板 (
**9.2.0版本**
及以上),前往
[
宝塔面板
](
https://www.bt.cn/new/download.html
)
官网,选择正式版的脚本下载安装
安装后登录宝塔面板,在菜单栏中点击 Docker ,首次进入会提示安装 Docker 服务,点击立即安装,按提示完成安装
安装完成后在应用商店中找到
**New-API**
,点击安装,配置基本选项 即可完成安装
[
图文教程
](
BT.md
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment