{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8b8efa65-e07f-4b0e-bfce-c557c5bb82c9",
    "slug": "llamaindex-apps-or-streamlit-on-the-port",
    "name": "LlamaIndex Apps | Streamlit on the Port the Platform Assigns",
    "description": "Streamlit apps that bind the assigned port. The stock one never does.",
    "url": "https://railway.com/deploy/llamaindex-apps-or-streamlit-on-the-port",
    "upstream": {
      "repo_url": "https://github.com/ak40u/llama-index-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "chat-with-pdf",
      "source": {
        "repo": "https://github.com/ak40u/llama-index-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "summarize-url",
      "source": {
        "repo": "https://github.com/ak40u/llama-index-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "chat-with-pdf",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PORT",
      "service": "summarize-url",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "llamaindex-apps-or-streamlit-on-the-port"
      }
    },
    "cli": "railway deploy --template llamaindex-apps-or-streamlit-on-the-port",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8b8efa65-e07f-4b0e-bfce-c557c5bb82c9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "525cd0e7-4582-422b-8c5e-97b021a7591d": {
                  "icon": null,
                  "name": "chat-with-pdf",
                  "deploy": {
                    "startCommand": "streamlit run streamlit_app.py --server.port $PORT --server.address 0.0.0.0 --server.headless true",
                    "healthcheckPath": "/_stcore/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/ak40u/llama-index-railway",
                    "rootDirectory": "/chat-with-pdf"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "f88838f3-ff81-4fb7-ba06-f16ce3fc19fb": {
                  "icon": null,
                  "name": "summarize-url",
                  "deploy": {
                    "startCommand": "streamlit run streamlit_app.py --server.port $PORT --server.address 0.0.0.0 --server.headless true",
                    "healthcheckPath": "/_stcore/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/ak40u/llama-index-railway",
                    "rootDirectory": "/summarize-url"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "chat-with-pdf",
      "method": "GET",
      "path": "/_stcore/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-05T05:54:13.276Z",
  "generator_version": "0.1.0"
}
