Closed cloud-nine-GitHub closed 1 year ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] The environment variables added by dcoker deployment did not take effect
In order to improve communication efficiency, we have set up an official QQ group and QQ channel. If you encounter any problems during use or construction, please join the group or channel for consultation as soon as possible, unless it is a bug that can be stably reproduced or More creative feature suggestions, otherwise please do not send low-quality and meaningless posts to the Issue area.
Feedback Instructions
⚠️ NOTE: Any post that does not follow this template will be immediately closed and we will not be able to locate your issue without providing the information below.
Please enter x in the square brackets below to indicate that you already know the relevant content.
Describe the problem Using dcoker to deploy the added environment variables does not replace the configuration
screenshot
How to reproduce docker image yidadaa/chatgpt-next-web latest d6e716d6b8ba 6 hours ago 244MB Container commands docker run -d -p 8400:3000 --name chatgptWeb -e OPENAI_API_KEY="sk-X2GW**n3jPh1dfy9G" - e BASE_URL="https://chatgpt.xxxxxxxx.cn/api/openai" yidadaa/chatgpt-next-web
Some necessary information
env 中的配置和前端设置页的配置显然是分离的,难不成你想让你的用户直接看到你的 sk?
Bot detected the issue body's language is not English, translate it automatically.
The configuration in env and the configuration on the front-end settings page are obviously separated. Is it possible that you want your users to see your sk directly?
env 中的配置和前端设置页的配置显然是分离的,难不成你想让你的用户直接看到你的 sk?
那个接口地址呢,也不能修改默认值吗
Bot detected the issue body's language is not English, translate it automatically.
The configuration in env and the configuration on the front-end settings page are obviously separated. Is it possible that you want your users to see your sk directly?
What about the interface address? Can’t I change the default value?
Bot detected the issue body's language is not English, translate it automatically.
I also encountered this problem. After setting the interface address in the environment variable, the front end cannot be used directly. It is still the default OpenAI address. .
反馈须知
⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。
请在下方中括号内输入 x 来表示你已经知晓相关内容。
描述问题 使用dcoker部署 添加的环境变量 并没有替换配置
截图
如何复现 docker镜像 yidadaa/chatgpt-next-web latest d6e716d6b8ba 6 hours ago 244MB 容器命令 docker run -d -p 8400:3000 --name chatgptWeb -e OPENAI_API_KEY="sk-X2GW**n3jPh1dfy9G" -e BASE_URL="https://chatgpt.xxxxxxxx.cn/api/openai" yidadaa/chatgpt-next-web
一些必要的信息