File size: 755 Bytes
a4f8c46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ── NeuroCheck v8.0 β€” Railway Deployment Config ──────────────────────────────
# Deploy to Railway: https://railway.app
# Steps:
#   1. railway login
#   2. railway init  (in this folder)
#   3. railway up
#   4. railway domain  (get your public URL)
#
# Or connect GitHub repo in Railway dashboard for auto-deploy on push.

[build]
builder = "DOCKERFILE"
dockerfilePath = "Dockerfile"

[deploy]
startCommand = "python3 -m uvicorn api.main:app --host 0.0.0.0 --port $PORT --workers 1"
healthcheckPath = "/health"
healthcheckTimeout = 30
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 3

[environments.production.variables]
SPACY_MODEL = "/app/en_model"
PYTHONUNBUFFERED = "1"