Skip to content

Commit b59f2cc

Browse files
authored
fix: loginout (#5796)
* fix: variables refresh * fix: workflow start check * doc * fix: loginout * fix: login
1 parent ca274fe commit b59f2cc

25 files changed

+480
-398
lines changed

deploy/args.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"tags": {
3-
"fastgpt": "v4.13.1",
4-
"fastgpt-sandbox": "v4.13.1",
5-
"fastgpt-mcp_server": "v4.13.1",
6-
"fastgpt-plugin": "v0.2.2",
3+
"fastgpt": "v4.13.2",
4+
"fastgpt-sandbox": "v4.13.2",
5+
"fastgpt-mcp_server": "v4.13.2",
6+
"fastgpt-plugin": "v0.2.4",
77
"aiproxy": "v0.3.2",
88
"aiproxy-pg": "0.8.0-pg15",
99
"mongo": "5.0.18",

deploy/dev/docker-compose.cn.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,19 @@ services:
4949
volumes:
5050
- ./mongo/data:/data/db
5151
healthcheck:
52-
test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"]
52+
test:
53+
[
54+
'CMD',
55+
'mongo',
56+
'-u',
57+
'myusername',
58+
'-p',
59+
'mypassword',
60+
'--authenticationDatabase',
61+
'admin',
62+
'--eval',
63+
"db.adminCommand('ping')"
64+
]
5365
interval: 10s
5466
timeout: 5s
5567
retries: 5
@@ -124,15 +136,15 @@ services:
124136
retries: 3
125137
sandbox:
126138
container_name: sandbox
127-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1
139+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
128140
ports:
129141
- 3002:3000
130142
networks:
131143
- fastgpt
132144
restart: always
133145
fastgpt-mcp-server:
134146
container_name: fastgpt-mcp-server
135-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1
147+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
136148
ports:
137149
- 3005:3000
138150
networks:
@@ -141,7 +153,7 @@ services:
141153
environment:
142154
- FASTGPT_ENDPOINT=http://fastgpt:3000
143155
fastgpt-plugin:
144-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2
156+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
145157
container_name: fastgpt-plugin
146158
restart: always
147159
ports:
@@ -156,9 +168,8 @@ services:
156168
- S3_ACCESS_KEY=minioadmin
157169
- S3_SECRET_KEY=minioadmin
158170
- S3_BUCKET=fastgpt-plugins
159-
- S3_TOOL_BUCKET=fastgpt-tool # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
160-
- S3_PLUGIN_BUCKET=fastgpt-plugin # 系统插件热安装文件的桶,私有读写。
161-
- RETENTION_DAYS=15 # 系统工具临时文件保存天数
171+
- S3_PUBLIC_BUCKET=fastgpt-public # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
172+
- S3_PRIVATE_BUCKET=fastgpt-private # 系统插件热安装文件的桶,私有读写。
162173
- MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true
163174
- REDIS_URL=redis://default:mypassword@redis:6379
164175
depends_on:

deploy/dev/docker-compose.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,19 @@ services:
4949
volumes:
5050
- ./mongo/data:/data/db
5151
healthcheck:
52-
test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"]
52+
test:
53+
[
54+
'CMD',
55+
'mongo',
56+
'-u',
57+
'myusername',
58+
'-p',
59+
'mypassword',
60+
'--authenticationDatabase',
61+
'admin',
62+
'--eval',
63+
"db.adminCommand('ping')"
64+
]
5365
interval: 10s
5466
timeout: 5s
5567
retries: 5
@@ -124,15 +136,15 @@ services:
124136
retries: 3
125137
sandbox:
126138
container_name: sandbox
127-
image: ghcr.io/labring/fastgpt-sandbox:v4.13.1
139+
image: ghcr.io/labring/fastgpt-sandbox:v4.13.2
128140
ports:
129141
- 3002:3000
130142
networks:
131143
- fastgpt
132144
restart: always
133145
fastgpt-mcp-server:
134146
container_name: fastgpt-mcp-server
135-
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.1
147+
image: ghcr.io/labring/fastgpt-mcp_server:v4.13.2
136148
ports:
137149
- 3005:3000
138150
networks:
@@ -141,7 +153,7 @@ services:
141153
environment:
142154
- FASTGPT_ENDPOINT=http://fastgpt:3000
143155
fastgpt-plugin:
144-
image: ghcr.io/labring/fastgpt-plugin:v0.2.2
156+
image: ghcr.io/labring/fastgpt-plugin:v0.2.4
145157
container_name: fastgpt-plugin
146158
restart: always
147159
ports:
@@ -156,9 +168,8 @@ services:
156168
- S3_ACCESS_KEY=minioadmin
157169
- S3_SECRET_KEY=minioadmin
158170
- S3_BUCKET=fastgpt-plugins
159-
- S3_TOOL_BUCKET=fastgpt-tool # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
160-
- S3_PLUGIN_BUCKET=fastgpt-plugin # 系统插件热安装文件的桶,私有读写。
161-
- RETENTION_DAYS=15 # 系统工具临时文件保存天数
171+
- S3_PUBLIC_BUCKET=fastgpt-public # 系统工具,创建的临时文件,存储的桶,要求公开读私有写。
172+
- S3_PRIVATE_BUCKET=fastgpt-private # 系统插件热安装文件的桶,私有读写。
162173
- MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin&directConnection=true
163174
- REDIS_URL=redis://default:mypassword@redis:6379
164175
depends_on:

deploy/docker/cn/docker-compose.milvus.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
1212
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
1313
DB_MAX_LINK: 30
1414
REDIS_URL: redis://default:mypassword@redis:6379
15+
S3_EXTERNAL_BASE_URL:
1516
S3_ENDPOINT: fastgpt-minio
1617
S3_PORT: 9000
1718
S3_USE_SSL: false
1819
S3_ACCESS_KEY: minioadmin
1920
S3_SECRET_KEY: minioadmin
21+
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
22+
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
2023

2124
# 向量库相关配置
2225
x-vec-config: &x-vec-config
@@ -151,10 +154,27 @@ services:
151154
start_period: 30s
152155
volumes:
153156
- ./redis/data:/data
157+
fastgpt-minio:
158+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
159+
container_name: fastgpt-minio
160+
restart: always
161+
networks:
162+
- fastgpt
163+
environment:
164+
- MINIO_ROOT_USER=minioadmin
165+
- MINIO_ROOT_PASSWORD=minioadmin
166+
volumes:
167+
- ./fastgpt-minio:/data
168+
command: server /data --console-address ":9001"
169+
healthcheck:
170+
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
171+
interval: 30s
172+
timeout: 20s
173+
retries: 3
154174

155175
fastgpt:
156176
container_name: fastgpt
157-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git
177+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
158178
ports:
159179
- 3000:3000
160180
networks:
@@ -202,33 +222,15 @@ services:
202222
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
203223
volumes:
204224
- ./config.json:/app/data/config.json
205-
206-
fastgpt-minio:
207-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
208-
container_name: fastgpt-minio
209-
restart: always
210-
networks:
211-
- fastgpt
212-
environment:
213-
- MINIO_ROOT_USER=minioadmin
214-
- MINIO_ROOT_PASSWORD=minioadmin
215-
volumes:
216-
- ./fastgpt-minio:/data
217-
command: server /data --console-address ":9001"
218-
healthcheck:
219-
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
220-
interval: 30s
221-
timeout: 20s
222-
retries: 3
223225
sandbox:
224226
container_name: sandbox
225-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1
227+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
226228
networks:
227229
- fastgpt
228230
restart: always
229231
fastgpt-mcp-server:
230232
container_name: fastgpt-mcp-server
231-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1
233+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
232234
networks:
233235
- fastgpt
234236
ports:
@@ -237,7 +239,7 @@ services:
237239
environment:
238240
- FASTGPT_ENDPOINT=http://fastgpt:3000
239241
fastgpt-plugin:
240-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2
242+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
241243
container_name: fastgpt-plugin
242244
restart: always
243245
networks:

deploy/docker/cn/docker-compose.oceanbase.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ x-share-db-config: &x-share-db-config
1212
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
1313
DB_MAX_LINK: 30
1414
REDIS_URL: redis://default:mypassword@redis:6379
15+
S3_EXTERNAL_BASE_URL:
1516
S3_ENDPOINT: fastgpt-minio
1617
S3_PORT: 9000
1718
S3_USE_SSL: false
1819
S3_ACCESS_KEY: minioadmin
1920
S3_SECRET_KEY: minioadmin
21+
S3_PUBLIC_BUCKET: fastgpt-public # 公开读私有写桶
22+
S3_PRIVATE_BUCKET: fastgpt-private # 私有读写桶
2023

2124
# 向量库相关配置
2225
x-vec-config: &x-vec-config
@@ -128,10 +131,27 @@ services:
128131
start_period: 30s
129132
volumes:
130133
- ./redis/data:/data
134+
fastgpt-minio:
135+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
136+
container_name: fastgpt-minio
137+
restart: always
138+
networks:
139+
- fastgpt
140+
environment:
141+
- MINIO_ROOT_USER=minioadmin
142+
- MINIO_ROOT_PASSWORD=minioadmin
143+
volumes:
144+
- ./fastgpt-minio:/data
145+
command: server /data --console-address ":9001"
146+
healthcheck:
147+
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
148+
interval: 30s
149+
timeout: 20s
150+
retries: 3
131151

132152
fastgpt:
133153
container_name: fastgpt
134-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.1 # git
154+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.13.2 # git
135155
ports:
136156
- 3000:3000
137157
networks:
@@ -179,33 +199,15 @@ services:
179199
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
180200
volumes:
181201
- ./config.json:/app/data/config.json
182-
183-
fastgpt-minio:
184-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z
185-
container_name: fastgpt-minio
186-
restart: always
187-
networks:
188-
- fastgpt
189-
environment:
190-
- MINIO_ROOT_USER=minioadmin
191-
- MINIO_ROOT_PASSWORD=minioadmin
192-
volumes:
193-
- ./fastgpt-minio:/data
194-
command: server /data --console-address ":9001"
195-
healthcheck:
196-
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live']
197-
interval: 30s
198-
timeout: 20s
199-
retries: 3
200202
sandbox:
201203
container_name: sandbox
202-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.1
204+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.13.2
203205
networks:
204206
- fastgpt
205207
restart: always
206208
fastgpt-mcp-server:
207209
container_name: fastgpt-mcp-server
208-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.1
210+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.13.2
209211
networks:
210212
- fastgpt
211213
ports:
@@ -214,7 +216,7 @@ services:
214216
environment:
215217
- FASTGPT_ENDPOINT=http://fastgpt:3000
216218
fastgpt-plugin:
217-
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.2
219+
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.2.4
218220
container_name: fastgpt-plugin
219221
restart: always
220222
networks:

0 commit comments

Comments
 (0)