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
9d1bd64d
authored
Nov 30, 2024
by
CalciumIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
4e2368f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
README.md
+11
-0
No files found.
README.md
View file @
9d1bd64d
...
...
@@ -88,6 +88,17 @@
[
图文教程
](
BT.md
)
### 基于 Docker 进行部署
### 使用 Docker Compose 部署(推荐)
```
shell
# 下载项目
git clone https://github.com/Calcium-Ion/new-api.git
cd
new-api
# 按需编辑 docker-compose.yml
# 启动
docker-compose up
-d
```
### 直接使用 Docker 镜像
```
shell
# 使用 SQLite 的部署命令:
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
TZ
=
Asia/Shanghai
-v
/home/ubuntu/data/new-api:/data calciumion/new-api:latest
...
...
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