Skip to content

Commit 55cae7b

Browse files
committed
Add railway.json
1 parent c65cd24 commit 55cae7b

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"dev": "tsx index.ts",
88
"build": "tsc -b",
9-
"start": "node -r tsconfig-paths/register dist/index.js",
9+
"start": "tsc && node -r tsconfig-paths/register dist/index.js",
1010
"lint": "eslint .",
1111
"format": "prettier --write .",
1212
"format:check": "prettier --check .",

backend/railway.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://railway.com/railway.schema.json",
3+
"build": {
4+
"builder": "NIXPACKS"
5+
},
6+
"deploy": {
7+
"runtime": "V2",
8+
"numReplicas": 1,
9+
"sleepApplication": false,
10+
"multiRegionConfig": {
11+
"europe-west4-drams3a": {
12+
"numReplicas": 1
13+
}
14+
},
15+
"restartPolicyType": "ON_FAILURE",
16+
"restartPolicyMaxRetries": 10
17+
}
18+
}

0 commit comments

Comments
 (0)