# Railway Deployment Configuration for Public API Gateway [build] builder = "DOCKERFILE" dockerfilePath = "Dockerfile" [deploy] startCommand = "uvicorn app.main:app --host 0.0.0.0 --port $PORT" healthcheckPath = "/health" healthcheckTimeout = 100 restartPolicyType = "ON_FAILURE" restartPolicyMaxRetries = 10 # Watch patterns for auto-redeploy watchPatterns = [ "app/**/*.py", "requirements.txt", "Dockerfile" ]