Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
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
Unverified
Commit
51559bc8
authored
Nov 25, 2024
by
Archer
Committed by
GitHub
Nov 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update deploy yml (#3224)
parent
c7681342
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
33 deletions
+27
-33
docSite/content/zh-cn/docs/development/docker.md
+9
-4
docSite/content/zh-cn/docs/development/openapi/dataset.md
+0
-11
files/docker/docker-compose-milvus.yml
+6
-6
files/docker/docker-compose-pgvector.yml
+6
-6
files/docker/docker-compose-zilliz.yml
+6
-6
No files found.
docSite/content/zh-cn/docs/development/docker.md
View file @
51559bc8
...
@@ -134,14 +134,16 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/mai
...
@@ -134,14 +134,16 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/mai
# curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/main/files/docker/docker-compose-zilliz.yml
# curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/main/files/docker/docker-compose-zilliz.yml
```
```
### 2. 修改 docker-compose.yml 环境变量
### 2. 修改环境变量
找到 yml 文件中,fastgpt 容器的环境变量进行下面操作:
{{
<
tabs
tabTotal=
"3"
>
}}
{{
<
tabs
tabTotal=
"3"
>
}}
{{
<
tab
tabName=
"PgVector版本"
>
}}
{{
<
tab
tabName=
"PgVector版本"
>
}}
{{
<
markdownify
>
}}
{{
<
markdownify
>
}}
```
```
无需操作
FE_DOMAIN=你的前端你访问地址,例如 http://192.168.0.1:3000;https://cloud.fastgpt.cn
```
```
{{
<
/
markdownify
>
}}
{{
<
/
markdownify
>
}}
...
@@ -150,7 +152,7 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/mai
...
@@ -150,7 +152,7 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/mai
{{
<
markdownify
>
}}
{{
<
markdownify
>
}}
```
```
无需操作
FE_DOMAIN=你的前端你访问地址,例如 http://192.168.0.1:3000;https://cloud.fastgpt.cn
```
```
{{
<
/
markdownify
>
}}
{{
<
/
markdownify
>
}}
...
@@ -158,11 +160,14 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/mai
...
@@ -158,11 +160,14 @@ curl -o docker-compose.yml https://raw.githubusercontent.com/labring/FastGPT/mai
{{
<
tab
tabName=
"Zilliz版本"
>
}}
{{
<
tab
tabName=
"Zilliz版本"
>
}}
{{
<
markdownify
>
}}
{{
<
markdownify
>
}}
打开
[
Zilliz Cloud
](
https://zilliz.com.cn/
)
, 创建实例并获取相关秘钥。


{{% alert icon="🤖" context="success" %}}
{{% alert icon="🤖" context="success" %}}
修改
`MILVUS_ADDRESS`
和
`MILVUS_TOKEN`
链接参数,分别对应
`zilliz`
的
`Public Endpoint`
和
`Api key`
,记得把自己ip加入白名单。
1.
修改
`MILVUS_ADDRESS`
和
`MILVUS_TOKEN`
链接参数,分别对应
`zilliz`
的
`Public Endpoint`
和
`Api key`
,记得把自己ip加入白名单。
2.
修改FE_DOMAIN=你的前端你访问地址,例如 http://192.168.0.1:3000;https://cloud.fastgpt.cn
{{% /alert %}}
{{% /alert %}}
...
...
docSite/content/zh-cn/docs/development/openapi/dataset.md
View file @
51559bc8
...
@@ -31,17 +31,6 @@ curl --location --request POST 'http://localhost:3000/api/support/wallet/usage/c
...
@@ -31,17 +31,6 @@ curl --location --request POST 'http://localhost:3000/api/support/wallet/usage/c
}'
}'
```
```
**x例子**
```
bash
curl
--location
--request
POST
'http://localhost:3000/api/support/wallet/bill/createTrainingBill'
\
--header
'Authorization: Bearer {{apikey}}'
\
--header
'Content-Type: application/json'
\
--data-raw
'{
"name": "可选,自定义订单名称,例如:文档训练-fastgpt.docx"
}'
```
{{
<
/
markdownify
>
}}
{{
<
/
markdownify
>
}}
{{
<
/
tab
>
}}
{{
<
/
tab
>
}}
...
...
files/docker/docker-compose-milvus.yml
View file @
51559bc8
...
@@ -114,15 +114,15 @@ services:
...
@@ -114,15 +114,15 @@ services:
# fastgpt
# fastgpt
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.8.1
1
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.8.1
3-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.1
3-fix
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.8.1
1
# git
image
:
ghcr.io/labring/fastgpt:v4.8.1
3-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.1
3-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -133,6 +133,8 @@ services:
...
@@ -133,6 +133,8 @@ services:
-
sandbox
-
sandbox
restart
:
always
restart
:
always
environment
:
environment
:
# 前端访问地址: http://localhost:3000
-
FE_DOMAIN=
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
-
DEFAULT_ROOT_PSW=1234
-
DEFAULT_ROOT_PSW=1234
# AI模型的API地址哦。务必加 /v1。这里默认填写了OneApi的访问地址。
# AI模型的API地址哦。务必加 /v1。这里默认填写了OneApi的访问地址。
...
@@ -154,8 +156,6 @@ services:
...
@@ -154,8 +156,6 @@ services:
-
MILVUS_TOKEN=none
-
MILVUS_TOKEN=none
# sandbox 地址
# sandbox 地址
-
SANDBOX_URL=http://sandbox:3000
-
SANDBOX_URL=http://sandbox:3000
# 前端地址: http://localhost:3000
-
FE_DOMAIN=
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
-
LOG_LEVEL=info
-
LOG_LEVEL=info
-
STORE_LOG_LEVEL=warn
-
STORE_LOG_LEVEL=warn
...
...
files/docker/docker-compose-pgvector.yml
View file @
51559bc8
...
@@ -72,15 +72,15 @@ services:
...
@@ -72,15 +72,15 @@ services:
# fastgpt
# fastgpt
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.8.1
1
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.8.1
3
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.1
3
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.8.1
1
# git
image
:
ghcr.io/labring/fastgpt:v4.8.1
3-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.1
3-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -91,6 +91,8 @@ services:
...
@@ -91,6 +91,8 @@ services:
-
sandbox
-
sandbox
restart
:
always
restart
:
always
environment
:
environment
:
# 前端访问地址: http://localhost:3000
-
FE_DOMAIN=
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
-
DEFAULT_ROOT_PSW=1234
-
DEFAULT_ROOT_PSW=1234
# AI模型的API地址哦。务必加 /v1。这里默认填写了OneApi的访问地址。
# AI模型的API地址哦。务必加 /v1。这里默认填写了OneApi的访问地址。
...
@@ -111,8 +113,6 @@ services:
...
@@ -111,8 +113,6 @@ services:
-
PG_URL=postgresql://username:password@pg:5432/postgres
-
PG_URL=postgresql://username:password@pg:5432/postgres
# sandbox 地址
# sandbox 地址
-
SANDBOX_URL=http://sandbox:3000
-
SANDBOX_URL=http://sandbox:3000
# 前端地址: http://localhost:3000
-
FE_DOMAIN=
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
-
LOG_LEVEL=info
-
LOG_LEVEL=info
-
STORE_LOG_LEVEL=warn
-
STORE_LOG_LEVEL=warn
...
...
files/docker/docker-compose-zilliz.yml
View file @
51559bc8
...
@@ -53,15 +53,15 @@ services:
...
@@ -53,15 +53,15 @@ services:
wait $$!
wait $$!
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.8.1
1
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.8.1
3-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.8.1
3-fix
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.8.1
1
# git
image
:
ghcr.io/labring/fastgpt:v4.8.1
3-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.1
1
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.8.1
3-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
@@ -71,6 +71,8 @@ services:
...
@@ -71,6 +71,8 @@ services:
-
sandbox
-
sandbox
restart
:
always
restart
:
always
environment
:
environment
:
# 前端访问地址: http://localhost:3000
-
FE_DOMAIN=
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
-
DEFAULT_ROOT_PSW=1234
-
DEFAULT_ROOT_PSW=1234
# AI模型的API地址哦。务必加 /v1。这里默认填写了OneApi的访问地址。
# AI模型的API地址哦。务必加 /v1。这里默认填写了OneApi的访问地址。
...
@@ -92,8 +94,6 @@ services:
...
@@ -92,8 +94,6 @@ services:
-
MILVUS_TOKEN=zilliz_cloud_token
-
MILVUS_TOKEN=zilliz_cloud_token
# sandbox 地址
# sandbox 地址
-
SANDBOX_URL=http://sandbox:3000
-
SANDBOX_URL=http://sandbox:3000
# 前端地址: http://localhost:3000
-
FE_DOMAIN=
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
-
LOG_LEVEL=info
-
LOG_LEVEL=info
-
STORE_LOG_LEVEL=warn
-
STORE_LOG_LEVEL=warn
...
...
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