How to deploy an application with Node js, Express, Mysql database and Sequelize ORM on Railway?
I have that do the deploy of my application on RAILWAY and I used the deploy from Github repo. Happened an fail and in “DETAILS” appeared this:
Save this in a file called railway.json to codify your deployments config.
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}
In “BUILD LOGS” this:
Sticky cache enabled
==============
Using Nixpacks
==============
context: fd1f6938e902633a121a000c30b076e7
Nixpacks build failed
Nixpacks was unable to generate a build plan for this app.
Please check the documentation for supported languages: https://nixpacks.com
The contents of the app directory are:
README.md
.gitignore
api/
client/
In “DEPLOY LOGS” this:
No deployment logs. All output sent to stdout will be displayed here
I tried Save the code below in a file called railway.json, but, no worked.
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}
How resolv this problem?
The repo my github