2 years ago
I have this issue all the time I try to deploy my spring boot project: https://github.com/Nuria-Masdeu/back-end-ortografia-catalana
I write a railway.json in the root of the project but fails with the same error.
It seems the file is not read.
Do you have any idea why is failing all the time??
Save this in a file called railway.json to codify your deployments config.
Visit Docs ↗
Format
JSON
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"nixpacksPlan": {
"providers": [
"…",
"java"
]
}
},
"deploy": {
"runtime": "PODMAN",
"numReplicas": 1,
"sleepApplication": false,
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}
ⓘ Deployment information is only viewable by project members and Railway employees.