From fc90957083df422911c41ca023777958bd3e3965 Mon Sep 17 00:00:00 2001 From: Yash Sehgal Date: Wed, 14 Dec 2022 01:05:11 +0530 Subject: [PATCH 1/5] fix(chore): test config improved (testing) --- railway.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railway.toml b/railway.toml index 7dc28da..f66cece 100644 --- a/railway.toml +++ b/railway.toml @@ -3,7 +3,7 @@ builder = "nixpacks" buildCommand = "npm run build" [deploy] -startCommand = "npm run start" +startCommand = "npm run develop" healthcheckPath = "/" healthcheckTimeout = 100 restartPolicyType = "never" \ No newline at end of file From ca502668ef5cd85b738467c82ba5973024281b27 Mon Sep 17 00:00:00 2001 From: Yash Sehgal Date: Wed, 14 Dec 2022 01:14:32 +0530 Subject: [PATCH 2/5] fix(chore): test config improved (testing) --- railway.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railway.toml b/railway.toml index f66cece..b2074dd 100644 --- a/railway.toml +++ b/railway.toml @@ -1,9 +1,9 @@ [build] builder = "nixpacks" -buildCommand = "npm run build" +buildCommand = "strapi build" [deploy] -startCommand = "npm run develop" +startCommand = "strapi start" healthcheckPath = "/" healthcheckTimeout = 100 restartPolicyType = "never" \ No newline at end of file From 66943353de074ac67aba790111e88a4fadb8758f Mon Sep 17 00:00:00 2001 From: Yash Sehgal Date: Wed, 14 Dec 2022 01:38:43 +0530 Subject: [PATCH 3/5] fix(chore): test config improved (testing) --- railway.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railway.toml b/railway.toml index b2074dd..7dc28da 100644 --- a/railway.toml +++ b/railway.toml @@ -1,9 +1,9 @@ [build] builder = "nixpacks" -buildCommand = "strapi build" +buildCommand = "npm run build" [deploy] -startCommand = "strapi start" +startCommand = "npm run start" healthcheckPath = "/" healthcheckTimeout = 100 restartPolicyType = "never" \ No newline at end of file From a91ca3f13d4b7e33bc83cacd2eb70b896a67e7c9 Mon Sep 17 00:00:00 2001 From: Yash Sehgal Date: Wed, 14 Dec 2022 01:50:11 +0530 Subject: [PATCH 4/5] fix(chore): test config improved (testing) --- config/env/production/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/env/production/database.js b/config/env/production/database.js index 4ce7a90..95457b8 100644 --- a/config/env/production/database.js +++ b/config/env/production/database.js @@ -16,6 +16,6 @@ module.exports = ({ env }) => ({ rejectUnauthorized: false, }, }, - debug: false, + debug: true, }, }); From 30fc92bc4177af152762ecad516eef4599a780c8 Mon Sep 17 00:00:00 2001 From: Yash Sehgal Date: Wed, 14 Dec 2022 01:57:40 +0530 Subject: [PATCH 5/5] fix(chore): test config improved (testing) --- config/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/server.js b/config/server.js index 34397a1..4333dd4 100644 --- a/config/server.js +++ b/config/server.js @@ -1,6 +1,6 @@ module.exports = ({ env }) => ({ - host: env('HOST', '0.0.0.0'), - port: env.int('PORT', 1337), + host: env('HOST', 'dabase'), + port: env.int('PORT', 5432), app: { keys: env.array('APP_KEYS'), },