Deploying Django via Docker. Stuck at "starting gunicorn 22.0.0"
mizells01
TRIALOP

a year ago

Hi. I've trying to deploy my Django Backend via Docker onto Railway. While looking at the Deploy Log...it appears that I keep getting "stuck" at the step stating "starting gunicorn 22.0.0". I've seen this issue a lot on the web, but now I'm the victim. Any insight into this would be greatly appreciated.

8 Replies

brody
EMPLOYEE

a year ago

Hello,

Nothing is stuck, you are simply using the wrong start command, so I can give you the correct start command, I would need your current start command.


mizells01
TRIALOP

a year ago

Hi Brody. Thanks for reaching out. I'm still trying to get on your level with this "stuff". Lol Within my Dockerfile...I didn't even include a "start command". Sorry...I know I'm a cheezy newbie. I will begin to start searching for "correct start commands". Sorry for any inconvenience.

Attachments


mizells01
TRIALOP

a year ago

Hi Brody. Thanks for reaching out. I'm still trying to get on your level with this "stuff". Lol Within my Dockerfile...I didn't even include a "start command". Sorry...I know I'm a cheezy newbie. I will begin to start searching for "correct start commands". Sorry for any inconvenience.


brody
EMPLOYEE

a year ago

No worries at all, I'm here to help.

Please attach the paracord_runner.sh file.


mizells01
TRIALOP

a year ago

Thanks brody. I'm currently in the process of locating the "paracord_runner.sh" file. I followed a tutorial for this project. However, I did notice that a "paracord_runner.sh" file was created during the DockerFile loading process, but can't yet find it. However, as soon as I do, I will send it over. Thanks for understanding brody.


brody
EMPLOYEE

a year ago

My apologies, I didn't look into your config close enough.

You should be to fix this by simply removing the PORT service variable.


mizells01
TRIALOP

a year ago

No worries brody. Thanks for following up. Removing the PORT service variable should be easy enough. Which of the following best represents how it should look "visually" after removing the PORT? I've attached a photo. Thanks.

Attachments


brody
EMPLOYEE

a year ago


Loading...