{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b24509be-537b-4120-88da-41146d878571",
    "slug": "ds2api",
    "name": "Ds2Api - DeepSeek ,OpenAI,Claude Compatible",
    "description": "DeepSeek compatible Go middleware converts web protocols  high concurrency",
    "url": "https://railway.com/deploy/ds2api",
    "upstream": {
      "repo_url": "https://github.com/bilalnawaz072/ds2api"
    }
  },
  "services": [
    {
      "name": "Ds2Api",
      "source": {
        "repo": "https://github.com/bilalnawaz072/ds2api"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Ds2Api",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5001"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Ds2Api",
      "description": "Provide a value for LOG_LEVEL.",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "DS2API_ADMIN_KEY",
      "service": "Ds2Api",
      "description": "Provide a value for DS2API_ADMIN_KEY.",
      "secret": true,
      "strategy": "default",
      "default": "admin123"
    },
    {
      "key": "DS2API_CONFIG_PATH",
      "service": "Ds2Api",
      "description": "Provide a value for DS2API_CONFIG_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "/data/config.json"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ds2api"
      }
    },
    "cli": "railway deploy --template ds2api",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b24509be-537b-4120-88da-41146d878571",
            "serializedConfig": {
              "services": {
                "07dc2efe-8df0-4912-b372-32b2ce44bf47": {
                  "name": "Ds2Api",
                  "source": {
                    "repo": "bilalnawaz072/ds2api",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "5001"
                    },
                    "LOG_LEVEL": {
                      "defaultValue": "INFO"
                    },
                    "DS2API_ADMIN_KEY": {
                      "defaultValue": "admin123"
                    },
                    "DS2API_CONFIG_PATH": {
                      "defaultValue": "/data/config.json"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5001": {
                        "port": 5001
                      }
                    }
                  },
                  "volumeMounts": {
                    "07dc2efe-8df0-4912-b372-32b2ce44bf47": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T18:46:46.960Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T19:39:17.679Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d2e63ecb4fc042efa093",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 161,
    "typical_build_seconds": 62,
    "typical_start_seconds": 11,
    "slowest_service": "Ds2Api"
  }
}
