Comments (5)
🤖
Hey @ichengang, good to see you back! Hope everything else is going well.
Based on the context provided, it seems like there might be a discrepancy between the ports that your frontend and backend services are using.
The frontend service, as defined in the frontend/Dockerfile, is set to expose and use port 3000. This is indicated by the lines EXPOSE 3000
and ENV PORT 3000
. This means that the application is listening for connections on port 3000, not port 5050.
On the other hand, your backend service, as defined in the backend/Dockerfile.dev, is set to expose and use port 5050. This is indicated by the line EXPOSE 5050
and the command CMD ["uvicorn", "main:app","--reload", "--host", "0.0.0.0", "--port", "5050", "--workers", "6"]
.
Furthermore, the .env.example
file indicates that the Quivr application's frontend expects the backend service to be available at http://localhost:5050
. This suggests that, at least for the local development environment, the backend service should be configured to listen on port 5050.
To resolve this issue, you might need to ensure that your frontend service is correctly configured to connect to your backend service's port. If you want to use port 5050 for your frontend service, you would need to change the lines in the frontend Dockerfile to EXPOSE 5050
and ENV PORT 5050
respectively. After making these changes, you would need to rebuild your Docker image and run it again.
Please let me know if this helps or if you need further assistance.
Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
from quivr.
I think I don't want 5050 as the front end, 5050 is just a port of a certain management service to facilitate management through the web page.
But I have installed quivr many times, and every time the front-end page of port 3000 is messed up, and the login port inside cannot be used.
My steps are to pull the warehouse, modify OPENAPIKEY in the .env file, and then start it through docker compose. Later, the configuration of supabase was modified in this file. But there is still no effective change in this result, depending on
from quivr.
Hey my friend the frontend is on port 3000. If you have issues with it please change the variable from localhost to your IP in the .env file.
from quivr.
ok 我试一下
from quivr.
嘿,我的朋友,前端位于端口 3000 上。如果您遇到问题,请将 .env 文件中的变量从 localhost 更改为您的 IP。
I like you, you can see my problem at a glance
from quivr.
Related Issues (20)
- [Bug]: I am trying to run `ollama/dolphin-phi` available on ollama, but /chat/{chat_id}/question throws {"error":"model 'llama2' not found, try pulling it first"} HOT 4
- [Bug]: port 8000 not working? HOT 2
- [Feature]: Increase the environment variable to override the Openai Api Base Url. HOT 3
- [Bug]: chat not working ? HOT 2
- [Bug]: ERROR [frontend builder 4/4] RUN yarn build HOT 2
- [Bug]: HOT 1
- [Bug]: brains disapeared and can't create new ones HOT 3
- [Bug]:Run failed docker compose up --build HOT 2
- Can not sign in to quivr[Bug]: HOT 1
- [Bug]: The front-end interface is incomplete HOT 4
- [Bug]: README Quick Start and documentation outdated HOT 5
- [Bug]: HOT 1
- [Bug]: Sharing brains HOT 1
- [Bug]: Frontend login page CORS Bug HOT 1
- Can not creat brain HOT 3
- [Bug]: Issue with Brain Creation and URL Knowledge Addition HOT 2
- can not creat brain HOT 1
- [Bug]: Can't Create Brain HOT 1
- [Bug]: Upload cancel keeps openin in chat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quivr.