remove railway.json
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"$schema": "https://railway.com/railway.schema.json",
|
||||
"build": {
|
||||
"builder": "RAILPACK",
|
||||
"buildCommand": "sh -lc 'case \"${SERVICE_TARGET:-api}\" in api) pnpm -r --filter @cio/api... build ;; dashboard) NODE_OPTIONS=\"--max-old-space-size=3072\" pnpm -r --filter @cio/dashboard... build ;; *) echo \"Unsupported SERVICE_TARGET: ${SERVICE_TARGET:-api}\" >&2; exit 1 ;; esac'"
|
||||
},
|
||||
"deploy": {
|
||||
"preDeployCommand": "sh -lc 'if [ \"${SERVICE_TARGET:-api}\" = \"api\" ]; then pnpm --filter @cio/db db:setup; else echo \"Skipping db setup for ${SERVICE_TARGET:-api}\"; fi'",
|
||||
"startCommand": "sh -lc 'case \"${SERVICE_TARGET:-api}\" in api) exec pnpm --filter @cio/api start ;; dashboard) exec pnpm --filter @cio/dashboard start ;; *) echo \"Unsupported SERVICE_TARGET: ${SERVICE_TARGET:-api}\" >&2; exit 1 ;; esac'",
|
||||
"healthcheckPath": "/",
|
||||
"healthcheckTimeout": 100,
|
||||
"restartPolicyType": "ALWAYS"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user