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"] |
providers = ["python"] |
||||
|
|
||||
[variables] |
|
||||
NIXPACKS_NODE_VERSION = "20" |
|
||||
|
|||||
@ -1,10 +1,9 @@ |
|||||
[build] |
[build] |
||||
builder = "nixpacks" |
builder = "nixpacks" |
||||
buildCommand = "npm ci --legacy-peer-deps && npx prisma generate && npm run build:production" |
|
||||
|
|
||||
[deploy] |
[deploy] |
||||
startCommand = "npx prisma migrate deploy && npm run start" |
startCommand = "uvicorn main:app --host 0.0.0.0 --port $PORT" |
||||
healthcheckPath = "/api/v1/info" |
healthcheckPath = "/health" |
||||
healthcheckTimeout = 120 |
healthcheckTimeout = 60 |
||||
restartPolicyType = "ON_FAILURE" |
restartPolicyType = "ON_FAILURE" |
||||
restartPolicyMaxRetries = 3 |
restartPolicyMaxRetries = 3 |
||||
|
|||||
Loading…
Reference in new issue