From f7a42164cf3cd985b6be89154f953cdd10fb1f9f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 3 Nov 2025 16:44:27 +0000 Subject: [PATCH] Add Railway configuration file 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. --- railway.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 railway.json diff --git a/railway.json b/railway.json new file mode 100644 index 00000000..8ddb477c --- /dev/null +++ b/railway.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://railway.app/railway.schema.json", + "build": { + "builder": "DOCKERFILE", + "dockerfilePath": "Dockerfile", + "buildCommand": null + }, + "deploy": { + "numReplicas": 1, + "sleepApplication": false, + "restartPolicyType": "ON_FAILURE", + "restartPolicyMaxRetries": 10 + } +}