Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this also be installed on coolify? #1

Open
boringcommerce opened this issue Apr 29, 2024 · 2 comments
Open

Can this also be installed on coolify? #1

boringcommerce opened this issue Apr 29, 2024 · 2 comments

Comments

@boringcommerce
Copy link

Hi there,

Can this be installed on coolify using the same method you used?

@rpuls
Copy link
Owner

rpuls commented Apr 29, 2024

Hi. I wouldn't know, I don't have any experience with coolify, but from a glance it looks like it should be possible.
You would need to setup a postgres database, a redis in-memory database, and two next.js app containers pointing to /medusajs-storefront/ and /medusajs-backend/.

You then need to connect everything via environment variables. You can see what is required for the backend here: .env.template
and for the storefront here: https://github.com/rpuls/medusajs-for-railway-boilerplate/blob/master/medusajs-storefront/.env.local.template

You could take a look at how the one-click deploy tempate on railway is constructed and try to replicat that: https://railway.app/template/QvfPwp

For building the backend, you need to run npm run seed:once && npm run start (or yarn)
And for the store front you need to run: npm run build && npm run start (or yarn)

@billyjeanrae
Copy link

Hi there,

Can this be installed on coolify using the same method you used?

did u find a solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants