ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
73k stars 57.98k forks source link

Docker部署,环境变量不生效 #4921

Open jidingxia opened 1 week ago

jidingxia commented 1 week ago

Bug Description

docker run -d -p 3000:3000 \ -e OPENAI_API_KEY=sk-oGidDuCy6LNxtrl82bB345B8De224c71A706Fa09C87c27F1 \ -e CODE=t23b520YN \ yidadaa/chatgpt-next-web 浏览器无痕模式,打开如下,我也试过了其他-e的写法 BFF0A732-EB17-4830-AC70-45C5548BDA6A

Steps to Reproduce

docker run -d -p 3000:3000 \ -e OPENAI_API_KEY=sk-oGidDuCy6LNxtrl82bB345B8De224c71A706Fa09C87c27F1 \ -e CODE=t23b520YN \ yidadaa/chatgpt-next-web

Expected Behavior

docker run -d -p 3000:3000 \ -e CODE=t23b520YN \ yidadaa/chatgpt-next-web

Screenshots

No response

Deployment Method

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

nextchat-manager[bot] commented 1 week ago

Please follow the issue template to update title and description of your issue.

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically.


Title: Docker deployment, environment variables do not take effect

QAbot-zh commented 1 week ago

不生效是指调用报错?

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically.


Does not take effect mean that the call reports an error?