From 64fb19beaa3b01de6a6cea06b3f47879236341e6 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 3 Dec 2025 10:33:04 +0100 Subject: [PATCH] Update coolify.json --- coolify.json | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/coolify.json b/coolify.json index f43d9c1..c3cfad6 100644 --- a/coolify.json +++ b/coolify.json @@ -1,16 +1,19 @@ { - "$schema": "https://cdn.coollabs.io/coolify/coolify.schema.json", + "version": "1.0", + "name": "test-app", "build": { - "build_pack": "dockerfile", - "base_directory": "/dockerfile" + "type": "nixpacks", + "install_command": "npm install", + "build_command": "npm run build", + "start_command": "npm start" }, - "network": { - "domains": { - "fqdn": "http://hellotwitter.127.0.0.1.sslip.io" - }, - "ports": { - "expose": "80", - "mappings": "8888:80" - } + "domains": { + "ports_exposes": "3000" + }, + "environment_variables": { + "production": [ + {"key": "DB_PASSWORD", "value": "SERVICE_PASSWORD_64"}, + {"key": "APP_SECRET", "value": "SERVICE_BASE64_32"} + ] } }