-
Notifications
You must be signed in to change notification settings - Fork 516
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
preset and docs for coolify #2762
Comments
Here are some of my notes on the topic: As you can see in the example, Nixpacks uses the Nuxt's new I started building my own Dockerfiles (available in this gist) when deploying to production-like envs. On average this results in my projects going from >600MB to 150-190MB per image, per build, (with 46MB being the base image, thus shared). To conclude:
P.S.: The shared Gist has multiple Dockerfiles, one solely based on |
Thanks for notes dear @sandros94 . Deployments should always have a dedicated preset. In this case, coolify. regardless of how-it-works details (i suggest to read my writeup). Docker support (and Nixpack/Buildpack) are also long time in track (#54) and indeed it is the main pain point that they depend on packing root instead of output dir. We should only bundle |
Happy to pick this up @pi0 and thank you @sandros94 for sharing your notes. Incorporating the Coolify preset into Nitro will help ensure our efforts align with the existing standards. Currently, deploying a Nitro or Nuxt app would fail due to the absence of a start command (which is empty by default through Nixpacks and not present in default Nuxt/Nitro CLI output). I addressed this by adding the start script at Line 8 within my Coolify examples. We need to do some research about the best way forward, I'll talk with Andras on monday. BTW @pi0: Would you like me to branch off these Nitro examples from the Nuxt examples (including the Coolify docs), like in to separate folders on the Coolify example repo? |
I think one first good step, if you can create a |
Update: Dear @pi0 and @sandros94 , I created the initial repositories, I will work further on these two repo's starting tomorrow. PS: Already started the docs side of things too for the Nitro docs locally. |
The previously created repositories seem redundant, apologies for overdoing it. Will keep you up to date and call for help when in need. |
Dear @pi0 and @sandros94, I created the single Nitro playground repo and invited you both as mentioned before. |
https://github.com/coollabsio/coolify
https://github.com/coollabsio/coolify-examples/tree/main/nuxt/nitro
/cc @justserdar if you want to take on this :)
The text was updated successfully, but these errors were encountered: