Update README.md

Added Coolify configuration to use the --filter option with Turbo for launching specific applications. This change ensures that only the targeted application is started, enhancing resource efficiency and simplifying the startup process.
This commit is contained in:
Andrei Malinkovich
2024-07-05 23:56:36 +02:00
committed by GitHub
parent 7c7fb6240e
commit 94bfa5f4b5

View File

@@ -5,11 +5,11 @@
- Set the start command to `npm run start`.
- `npm` could be different depending on the package manager you are using (`Nixpacks` decides based on the lock file).
- Set the 'Ports Exposes' to `3000,3001`.
- Set the 'Ports Mapping' to '3000:3000,3001:3001'.
- Set the 'Ports Mapping' to `3000:3000,3001:3001`.
- That's all.
## Server build (NodeJS) specific app
Configuration to use the --filter option with Turbo for launching specific applications. Ensures that only the targeted application is started, enhancing resource efficiency and simplifying the startup process (every app can be created as a separate Coolify Application).
Configuration to use the `--filter` option with Turbo for launching specific applications. Ensures that only the targeted application is started, enhancing resource efficiency and simplifying the startup process (every app can be created as a separate Coolify Application).
- Set `Build Pack` to `nixpacks`.
- Set the build command to `npm run build --filter=web`,
- Set the start command to `npm run start --filter=web`.