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
4d6ddd4d
authored
Jan 12, 2024
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README.md
parent
f111777f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
+2
-0
No files found.
README.md
View file @
4d6ddd4d
...
...
@@ -54,7 +54,9 @@ docker run --name new-api -d --restart always -p 3000:3000 -e SQL_DSN="root:1234
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
TZ
=
Asia/Shanghai
-v
/www/wwwroot/new-api:/data calciumion/new-api:latest
# 使用 MySQL 的部署命令,在上面的基础上添加 `-e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi"`,请自行修改数据库连接参数。
# 例如:
# 注意:数据库要开启远程访问,并且只允许服务器IP访问
docker run
--name
new-api
-d
--restart
always
-p
3000:3000
-e
SQL_DSN
=
"root:123456@tcp(宝塔的服务器地址:宝塔数据库端口)/宝塔数据库名称"
-e
TZ
=
Asia/Shanghai
-v
/www/wwwroot/new-api:/data calciumion/new-api:latest
# 注意:数据库要开启远程访问,并且只允许服务器IP访问
```
## Midjourney接口设置文档
[
对接文档
](
Midjourney.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