mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
This adds a railway.json configuration to help with Railway deployments. However, the main fix for the build error requires setting DATABASE_TYPE as a build-time environment variable in Railway's dashboard.
14 lines
312 B
JSON
14 lines
312 B
JSON
{
|
|
"$schema": "https://railway.app/railway.schema.json",
|
|
"build": {
|
|
"builder": "DOCKERFILE",
|
|
"dockerfilePath": "Dockerfile",
|
|
"buildCommand": null
|
|
},
|
|
"deploy": {
|
|
"numReplicas": 1,
|
|
"sleepApplication": false,
|
|
"restartPolicyType": "ON_FAILURE",
|
|
"restartPolicyMaxRetries": 10
|
|
}
|
|
}
|