Service deploy but not working
gal16v8d
HOBBYOP

2 years ago

My fastapi service is able to deploy now by using a dockerfile. But even when it is deployed, it doesn't respond to the health check, or any of the routes present in the api. In the deploy logs I saw uvicorn is running at the default port and my docker image expose that port, so not sure what could be missing. My project id is 57897c17-16b9-4236-8c1e-08566fbcf58b. Thanks in advance!

Solved

6 Replies

2 years ago

what do you get when you open the provided domain in the browser?


gal16v8d
HOBBYOP

2 years ago

I just get 503 responses, but in the deploy logs seems to be active



Status changed to Solved Railway almost 2 years ago


gal16v8d
HOBBYOP

2 years ago

thanks, I'll double-check it, I tried to send the ARG PORT and add it to variables but still not luck atm, will dig a little bit more into the cases, it is my first deploy using dockerfile instead of nix packs


2 years ago

please read the full docs page, as there is examples for uvicorn.


gal16v8d
HOBBYOP

2 years ago

it works now, thanks for the help


Loading...