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
591cc21f
authored
May 08, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy docs
parent
5a21eb9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
README.md
+6
-4
No files found.
README.md
View file @
591cc21f
...
@@ -22,6 +22,7 @@ OPENAI_BASE_URL=https://api.openai.com/v1
...
@@ -22,6 +22,7 @@ OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_BASE_URL_AUTH
=
可选的安全凭证
OPENAI_BASE_URL_AUTH
=
可选的安全凭证
queueTask
=
1
queueTask
=
1
parentUrl
=
https://hostname/api/openapi/startEvents
parentUrl
=
https://hostname/api/openapi/startEvents
# 发送邮箱验证码配置。用的是QQ邮箱。参考 nodeMail 获取MAILE_CODE,自行百度。
MY_MAIL
=
xxx@qq.com
MY_MAIL
=
xxx@qq.com
MAILE_CODE
=
xxx
MAILE_CODE
=
xxx
aliAccessKeyId
=
xxx
aliAccessKeyId
=
xxx
...
@@ -85,7 +86,7 @@ docker-compose -v
...
@@ -85,7 +86,7 @@ docker-compose -v
手动创建或者直接把 deploy 里内容复制过去,然后把 deploy 文件夹改名为: fastgpt
手动创建或者直接把 deploy 里内容复制过去,然后把 deploy 文件夹改名为: fastgpt
**/root/fastgpt/pg/init.sql PG 数据库初始化**
**/root/fast
-
gpt/pg/init.sql PG 数据库初始化**
```
sql
```
sql
set
-
e
set
-
e
...
@@ -109,7 +110,7 @@ CREATE INDEX modelData_modelId_index ON modelData USING HASH (model_id);
...
@@ -109,7 +110,7 @@ CREATE INDEX modelData_modelId_index ON modelData USING HASH (model_id);
EOSQL
EOSQL
```
```
**/root/fastgpt/nginx/nginx.conf Nginx 配置**
**/root/fast
-
gpt/nginx/nginx.conf Nginx 配置**
```
conf
```
conf
user
nginx
;
user
nginx
;
...
@@ -172,7 +173,7 @@ http {
...
@@ -172,7 +173,7 @@ http {
}
}
```
```
**/root/fastgpt/docker-compose.yml 核心部署文件**
**/root/fast
-
gpt/docker-compose.yml 核心部署文件**
```
yml
```
yml
version
:
'
3.3'
version
:
'
3.3'
...
@@ -202,6 +203,8 @@ services:
...
@@ -202,6 +203,8 @@ services:
-
aliTemplateCode=SMS_xxxx
-
aliTemplateCode=SMS_xxxx
# token加密凭证(随便填,作为登录凭证)
# token加密凭证(随便填,作为登录凭证)
-
TOKEN_KEY=xxxx
-
TOKEN_KEY=xxxx
-
queueTask=1
-
parentUrl=https://hostname/api/openapi/startEvents
# 和下方mongo镜像的username,password对应
# 和下方mongo镜像的username,password对应
-
MONGODB_URI=mongodb://username:passsword@0.0.0.0:27017/?authSource=admin
-
MONGODB_URI=mongodb://username:passsword@0.0.0.0:27017/?authSource=admin
-
MONGODB_NAME=xxx
-
MONGODB_NAME=xxx
...
@@ -211,7 +214,6 @@ services:
...
@@ -211,7 +214,6 @@ services:
-
PG_USER=fastgpt
# POSTGRES_USER
-
PG_USER=fastgpt
# POSTGRES_USER
-
PG_PASSWORD=1234
# POSTGRES_PASSWORD
-
PG_PASSWORD=1234
# POSTGRES_PASSWORD
-
PG_DB_NAME=fastgpt
# POSTGRES_DB
-
PG_DB_NAME=fastgpt
# POSTGRES_DB
# openai api key
-
OPENAIKEY=sk-xxxxx
-
OPENAIKEY=sk-xxxxx
nginx
:
nginx
:
image
:
nginx:alpine3.17
image
:
nginx:alpine3.17
...
...
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