#Issues with Storefront on Coolify

1 messages · Page 1 of 1 (latest)

swift delta
#

Hello, I am trying to deploy the nextjs storefront on Coolify but I can't find out what can be the issue, I am getting bad gatawey error. Can someone list all the Environment Variables that are used in Frontend ? #coolify #storefront

clever dune
#

Can you share your config on Coolify?

Did you setup backend and frontend together or separate?

We had similar problems and we ended up with 2 deployments, backend and frontend where each would listen to their own directories under base directory!

Here is how we did it;

Repo:
[ROOT]
/backend
/frontend

Coolify setup for each based on their dir:-
Base directory: /backend
Listen to port 9010

Base directory: /frontend
Listen to port 9012

We swaped the ports because we had a couple of instances running on those ports already, so ended up changes those and everything start working!

Let me know if you couldn't figure it out, happy to look at your config, DM me
Good luck

swift delta
#

I created 2 Repo on Github. Storefront and Backend Repo. the storefront setting on coolify are like this.