lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.96k stars 9.34k forks source link

[Bug] docker部署时next-auth不可用 #2881

Closed xingpingcn closed 3 months ago

xingpingcn commented 3 months ago

📦 Environment

📌 Version

最新

💻 Operating System

🌐 Browser

🐛 Bug Description

image

image

version: '3.8'

services:
  lobe-chat:
    image: lobehub/lobe-chat
    container_name: lobe-chat
    restart: always
    ports:
      - '127.0.0.1:10901:3210'

使用ngxin反代

server {
        server_name domain.com;
        listen 80;
        location /{
            proxy_pass http://127.0.0.1:10901;
        }
}

因为套了cf,所以,虽然监听的80端口,但是https是可用的

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

lobehubbot commented 3 months ago

👀 @xingpingcn

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 3 months ago

感觉应该是你的配置问题。 cc @cy948 帮忙看看?

lobehubbot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems to be a problem with your configuration. cc @cy948 Can you help me?

cy948 commented 3 months ago

请按照文档配置NEXTAUTH_URL变量

lobehubbot commented 3 months ago

✅ @xingpingcn

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。