Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

Repalce railpack.sjon with railway.toml

Punit Arani6b71a936bba1
diff --git a/railpack.json b/railpack.json
deleted file mode 100644
index ea2ee13..0000000
--- a/railpack.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$schema": "https://schema.railpack.com",
- "steps": {
- "install": {
- "commands": ["uv sync --all-extras"]
- },
- "build": {
- "inputs": [{ "step": "install" }],
- "commands": []
- }
- },
- "deploy": {
- "startCommand": "uv run fli-mcp"
- }
-}
diff --git a/railway.toml b/railway.toml
new file mode 100644
index 0000000..7ea52ce
--- /dev/null
+++ b/railway.toml
@@ -0,0 +1,10 @@
+[build]
+builder = "NIXPACKS"
+nixpacksPlan = { "repo" = "punitarani/fli" }
+
+[deploy]
+numReplicas = 1
+startCommand = "uvicorn fli.mcp.server:run --host 0.0.0.0 --port $PORT"
+sleepApplication = false
+restartPolicyType = "ON_FAILURE"
+restartPolicyMaxRetries = 10