Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 3 tasks
jidingxia opened this issue Jul 4, 2024 · 4 comments
Open
1 of 3 tasks

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

jidingxia opened this issue Jul 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@jidingxia
Copy link

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

  • Docker
  • Vercel
  • Server

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

@jidingxia jidingxia added the bug Something isn't working label Jul 4, 2024
@nextchat-manager
Copy link

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

@Issues-translate-bot
Copy link

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


Title: Docker deployment, environment variables do not take effect

@QAbot-zh
Copy link

QAbot-zh commented Jul 4, 2024

不生效是指调用报错?

@Issues-translate-bot
Copy link

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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants