diff --git a/.dockerignore b/.dockerignore index d3169956..3f0a4ca4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -21,8 +21,7 @@ env/ .gitignore .gitattributes -# Documentation -*.md +# Documentation (keep README.md for hatchling build) docs/ examples/ diff --git a/Dockerfile b/Dockerfile.docker similarity index 100% rename from Dockerfile rename to Dockerfile.docker diff --git a/railway.toml b/railway.toml new file mode 100644 index 00000000..0ad11aa3 --- /dev/null +++ b/railway.toml @@ -0,0 +1,15 @@ +[build] +# Use Railpack (auto-detects Python + uv) +builder = "NIXPACKS" + +[deploy] +# Start command for the HTTP server +startCommand = "python main.py" + +# Health check configuration +healthcheckPath = "/health" +healthcheckTimeout = 100 + +# Restart policy +restartPolicyType = "on_failure" +restartPolicyMaxRetries = 3