{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8098b041-e8e6-4754-b936-db1993cf0b71",
    "slug": "fnMtKA",
    "name": "ChartDB",
    "description": "Open-source database diagrams editor, and visualize DB with a single query",
    "url": "https://railway.com/deploy/fnMtKA",
    "upstream": {
      "repo_url": "https://github.com/chartdb/chartdb"
    }
  },
  "services": [
    {
      "name": "chartdb",
      "source": {
        "repo": "https://github.com/chartdb/chartdb"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "chartdb",
      "description": "ChartDB Port",
      "secret": false,
      "strategy": "default",
      "default": "80"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "fnMtKA"
      }
    },
    "cli": "railway deploy --template fnMtKA",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8098b041-e8e6-4754-b936-db1993cf0b71",
            "serializedConfig": {
              "services": {
                "dc3d3bc5-227e-49b8-924c-06a67d1d4786": {
                  "name": "chartdb",
                  "source": {
                    "repo": "chartdb/chartdb",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "ChartDB Port",
                      "defaultValue": "80"
                    },
                    "VITE_OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Add OpenAI API key if you want to have AI capabilities",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T10:14:47.278Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T11:02:14.465Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d082c9bb95e444a5a33f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 274,
    "typical_build_seconds": 189,
    "typical_start_seconds": 10,
    "slowest_service": "chartdb"
  }
}
