Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chat-query-app
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
jaden
chat-query-app
Commits
4e7249e6
Commit
4e7249e6
authored
Mar 18, 2025
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker params ziwei url
parent
9cb6fe71
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
chat-query/README-zh.md
chat-query/README-zh.md
+1
-0
chat-query/README.md
chat-query/README.md
+1
-0
chat-query/dockerfile
chat-query/dockerfile
+3
-0
chat-query/next.config.js
chat-query/next.config.js
+1
-1
No files found.
chat-query/README-zh.md
View file @
4e7249e6
...
...
@@ -66,6 +66,7 @@
NEXT_PUBLIC_OPEN_AI_API_KEY='sk-...'
OPENAI_PROXY_URL="https://open-ai-xyy.deno.dev/"
NEXT_PUBLIC_BACKEND_URL="http://localhost:3001/"
NEXT_PUBLIC_ZIWEI_URL="http://staging.fusiontech.cn"
```
## 系统架构
...
...
chat-query/README.md
View file @
4e7249e6
...
...
@@ -65,6 +65,7 @@
NEXT_PUBLIC_OPEN_AI_API_KEY='sk-...'
OPENAI_PROXY_URL="https://open-ai-xyy.deno.dev/"
NEXT_PUBLIC_BACKEND_URL="http://localhost:3001/"
NEXT_PUBLIC_ZIWEI_URL="http://staging.fusiontech.cn"
```
## System Architecture
...
...
chat-query/dockerfile
View file @
4e7249e6
...
...
@@ -17,6 +17,9 @@ ENV NEXT_PUBLIC_OPEN_AI_API_KEY $NEXT_PUBLIC_OPEN_AI_API_KEY
ARG
OPENAI_PROXY_URL
ENV
OPENAI_PROXY_URL $OPENAI_PROXY_URL
ARG
NEXT_PUBLIC_ZIWEI_URL
ENV
NEXT_PUBLIC_ZIWEI_URL $NEXT_PUBLIC_ZIWEI_URL
# 安装依赖
RUN
npm i
-g
pnpm@9.12.1
RUN
pnpm i
...
...
chat-query/next.config.js
View file @
4e7249e6
...
...
@@ -23,7 +23,7 @@ const rewrites = async () => {
},
{
source
:
'
/ziwei/:path*
'
,
destination
:
`
https://staging.fusiontech.cn
/:path*`
,
destination
:
`
${
process
.
env
.
NEXT_PUBLIC_ZIWEI_URL
||
'
http://staging.fusiontech.cn
'
}
/:path*`
,
},
];
...
...
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