mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
This PR includes the addition of a health check API endpoint directly in the Nuxt example. This API endpoint can be used as an alternative to the default health check on port 80. Beside the API feature I also included a Nitro example. Nitro can be run seperately from Nuxt. Allowing you to basically run Nuxt 'headless'. This extension of the existing example will go well with developers using Nuxt within the Coolify community. This PR is complementary to my PR on the main Coolify documentation PR.
7 lines
329 B
Markdown
7 lines
329 B
Markdown
# Coolify Configuration
|
|
|
|
1. Use `Nixpacks`.
|
|
2. Set `Ports Exposed` to `3000` (or any port you set).
|
|
3. Set `Start Command` to `node .output/server/index.mjs`
|
|
- Alternatively, you can set the `start` script inside `package.json` to `node .output/server/index.mjs`. Then Nixpacks will automatically use it as the start command.
|