-
Notifications
You must be signed in to change notification settings - Fork 533
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
feat: coolify preset #2767
base: v2
Are you sure you want to change the base?
feat: coolify preset #2767
Conversation
Currently I wouldn't call this a In particular, because if someone during a Coolify deployment picks a different To add onto this, since we are talking to a dedicated Nixpacks preset, we could create a dedicated While this is still not as optimized Dockerfile+Alpine images, it is still an improvement. With a downside that I still have no idea how to handle additional folders like |
Thanks for your pull-request dear @justserdar and feedback @sandros94. Few notes:
|
As we take this step by step, I feel the PR is currently at the point of:
Docs:
Would love feedback/input. |
|
||
## Set up your web app | ||
|
||
In your project, set Nitro preset to `coolify`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead, we should instruct the build commands to use SERVER_PRESET=coolify
environment variable.
|
||
```js | ||
export default { | ||
nitro: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This config works in nuxt only + it is boilerplate (ie: provider fixed in project)
A Nitro Coolify preset to standardise and improve security when deploying to Coolify.
Attached issue 2762.
❓ Type of change
Docs and Preset for Coolify.
📚 Description
As discussed earlier over multiple channels with pi0 this is the right step moving forward.
Requesting feedback, the preset now correctly adds the start script to the output
package.json
.📝 Checklist