7 months ago
Hi There,
I have a project with the following file structure:
frontend (hosted in vercel)
app (API to host in railway!)
engine (worker to host in railway!)
db_client (DB package)
redis-client (redis package)
I have deployed my API with the following commands:
Build:
pip install -r requirements.txt && pip install -e ./db_client && pip install -e ./redis-clientDeploy:
uvicorn app.main:app
I am stuck here because the deployment is always successful. However, when I visit the root folder, I always get a 502 status code and no errors in my deploy logs which makes it harder to trouble shoot.
Any suggestions and help would be greatly appriciate it 🙂
0 Replies
7 months ago
Hello,
Have you checked out our docs on this topic? -
I did not set up the port correctly. Issue fixed. Thanks for the documentation.
7 months ago
No problem!
7 months ago
!s
Status changed to Solved brody • 7 months ago