mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
config to last known good state — revert bad Node.js config that broke Python Railway deploy Made-with: Cursorpull/6453/head
4 changed files with 4 additions and 11 deletions
@ -1 +0,0 @@ |
|||
20 |
|||
@ -1,2 +0,0 @@ |
|||
engine-strict=false |
|||
legacy-peer-deps=true |
|||
@ -1,4 +1 @@ |
|||
providers = ["node"] |
|||
|
|||
[variables] |
|||
NIXPACKS_NODE_VERSION = "20" |
|||
providers = ["python"] |
|||
|
|||
@ -1,10 +1,9 @@ |
|||
[build] |
|||
builder = "nixpacks" |
|||
buildCommand = "npm ci --legacy-peer-deps && npx prisma generate && npm run build:production" |
|||
|
|||
[deploy] |
|||
startCommand = "npx prisma migrate deploy && npm run start" |
|||
healthcheckPath = "/api/v1/info" |
|||
healthcheckTimeout = 120 |
|||
startCommand = "uvicorn main:app --host 0.0.0.0 --port $PORT" |
|||
healthcheckPath = "/health" |
|||
healthcheckTimeout = 60 |
|||
restartPolicyType = "ON_FAILURE" |
|||
restartPolicyMaxRetries = 3 |
|||
|
|||
Loading…
Reference in new issue