From 8bcdba45bc79a70fd4ac0e6ce7038731362af5a6 Mon Sep 17 00:00:00 2001 From: Andrei Malinkovich Date: Fri, 5 Jul 2024 23:42:26 +0200 Subject: [PATCH 1/3] Update README.md Updated the 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. --- turbo-nextjs/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/turbo-nextjs/README.md b/turbo-nextjs/README.md index a567cdc..c2e71a6 100644 --- a/turbo-nextjs/README.md +++ b/turbo-nextjs/README.md @@ -2,6 +2,7 @@ ## Server build (NodeJS) - Set `Build Pack` to `nixpacks`. -- Set the start command to `cd apps/ && npm run start`. +- Set the build command to `npm run build --filter=web`, +- Set the start command to `npm run start --filter=web`. - `npm` could be different depending on the package manager you are using (`Nixpacks` decides based on the lock file). -- That's all. \ No newline at end of file +- That's all. From 7c7fb6240e5b215eb36d20921f8b168f02744480 Mon Sep 17 00:00:00 2001 From: Andrei Malinkovich Date: Fri, 5 Jul 2024 23:54:50 +0200 Subject: [PATCH 2/3] Update README.md Added Updated 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. --- turbo-nextjs/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/turbo-nextjs/README.md b/turbo-nextjs/README.md index c2e71a6..75199c9 100644 --- a/turbo-nextjs/README.md +++ b/turbo-nextjs/README.md @@ -1,6 +1,15 @@ # Coolify Configuration -## Server build (NodeJS) +## Server build (NodeJS) all apps +- Set `Build Pack` to `nixpacks`. +- 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'. +- 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). - 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`. From 94bfa5f4b540939a47083e274b7163ee16fcde1a Mon Sep 17 00:00:00 2001 From: Andrei Malinkovich Date: Fri, 5 Jul 2024 23:56:36 +0200 Subject: [PATCH 3/3] 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. --- turbo-nextjs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/turbo-nextjs/README.md b/turbo-nextjs/README.md index 75199c9..936b1f6 100644 --- a/turbo-nextjs/README.md +++ b/turbo-nextjs/README.md @@ -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`.