Strapi stuck in Deployment

Every time i deploy strapi as a service the deployment gets stuck here:

May 13 10:56:03 PM To access the server :zap:, go to:
May 13 10:56:03 PM http://localhost:10000

i copied the commands over from the strapi one click deployment:
Build command: yarn install && yarn build
start command: rsync -a public/ /data/public/ && yarn start

Any idea what i’m doing wrong?

Any help is very much appreciated.

Sebastian

So it seems i had to change the hardcoded host from “localhost” to

host: env(“HOST”, “localhost”),

inside server.js to be able to set a env variable to 0.0.0.0 which is necessary to recognize the app has started.

Got this information from here:

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.