NEXT_PUBLIC_BASE_PATH
not work with docker
#2528
Unanswered
YealKio
asked this question in
Self Hosting | 私有化部署
Replies: 3 comments 10 replies
-
👀 @YealKio Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
0 replies
-
NEXT_PUBLIC_BASE_PATH is not working with docker. You need to build it with |
Beta Was this translation helpful? Give feedback.
9 replies
-
This is a bug; the parameter isn't taking effect. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
💻 Operating System
Ubuntu
📦 Environment
Docker
🌐 Browser
Chrome
🐛 Bug Description
Chat-lobe + ollama +nginx not work.
Chat-lobe can not init in the first time, like nginx SUBPATH thing, not sure, see my step please.
BTW, ollama server and Chat-lobe server are not the same device, but in LAN.
I can run OPEN-WEBUI + OLLAMA + NGINX without problem.
🚦 Expected Behavior
Even can not init.
📷 Recurrence Steps
Chat lobe run with docker:
sudo docker run -d -p 3210:3210 -e OLLAMA_PROXY_URL=http://192.168.2.202:11434 -e NEXT_PUBLIC_BASE_PATH=/chat-lobe lobehub/lobe-chat
this my nginx conf file:
when I open my.nas.com:port/chat-lobe, the Chrome just show:
The website console like:
Can not find any thing, and one of Request URL like:
Request URL: http://my.nas.com:port/_next/static/chunks/webpack-72cd2e677540060b.js
It look like NEXT_PUBLIC_BASE_PATH not work as expected, please help!
📝 Additional Information
Ollama server and Chat-lobe server are not the same device, but in LAN.
Beta Was this translation helpful? Give feedback.
All reactions