From 9aea98c96e0ff086e256932b57abd85ce28037b6 Mon Sep 17 00:00:00 2001 From: alexraskin Date: Tue, 14 May 2024 14:24:46 -0700 Subject: [PATCH] add railway back --- railway.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 railway.json diff --git a/railway.json b/railway.json new file mode 100644 index 0000000..bd886d0 --- /dev/null +++ b/railway.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://railway.app/railway.schema.json", + "build": { + "builder": "NIXPACKS" + }, + "deploy": { + "numReplicas": 1, + "startCommand": "python bot/bot.py", + "sleepApplication": false, + "restartPolicyType": "ON_FAILURE", + "restartPolicyMaxRetries": 10, + "healthcheckTimeout": 100, + "healthcheckPath": "/" + } +} \ No newline at end of file