From 9b20feddc7493d6a526c2e98d4b808378b8755ad Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 3 Dec 2025 10:19:44 +0100 Subject: [PATCH] Update coolify.json --- nodejs/coolify.json | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/nodejs/coolify.json b/nodejs/coolify.json index a48039c..c3cfad6 100644 --- a/nodejs/coolify.json +++ b/nodejs/coolify.json @@ -1,9 +1,19 @@ { - "build_pack": "nixpacks", - "base_directory": "/nodejs", - "publish_directory": "/", - "ports_exposes": "3001", - "settings": { - "is_static": false - } + "version": "1.0", + "name": "test-app", + "build": { + "type": "nixpacks", + "install_command": "npm install", + "build_command": "npm run build", + "start_command": "npm start" + }, + "domains": { + "ports_exposes": "3000" + }, + "environment_variables": { + "production": [ + {"key": "DB_PASSWORD", "value": "SERVICE_PASSWORD_64"}, + {"key": "APP_SECRET", "value": "SERVICE_BASE64_32"} + ] + } }