{
  "manifest_version": "1.0.0",
  "template": {
    "id": "da540143-4a58-4044-9e73-666b922d4cdb",
    "slug": "eRC98l",
    "name": "CouchDB",
    "description": "Seamless multi-master syncing database with an intuitive HTTP/JSON API",
    "url": "https://railway.com/deploy/eRC98l",
    "upstream": {
      "repo_url": "https://github.com/Aravindha1234u/couchdb-railway"
    }
  },
  "services": [
    {
      "name": "Database",
      "source": {
        "repo": "https://github.com/Aravindha1234u/couchdb-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami/couchdb",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Database",
      "description": "Port for CouchDB",
      "secret": false,
      "strategy": "default",
      "default": "5984"
    },
    {
      "key": "COUCHDB_USER",
      "service": "Database",
      "description": "CouchDB Admin User",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "COUCHDB_PASSWORD",
      "service": "Database",
      "description": "Admin Password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "eRC98l"
      }
    },
    "cli": "railway deploy --template eRC98l",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "da540143-4a58-4044-9e73-666b922d4cdb",
            "serializedConfig": {
              "services": {
                "98e6ea81-22ed-4ebd-afda-68b27d4ece12": {
                  "name": "Database",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "Aravindha1234u/couchdb-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port for CouchDB",
                      "defaultValue": "5984"
                    },
                    "COUCHDB_USER": {
                      "isOptional": true,
                      "description": "CouchDB Admin User",
                      "defaultValue": "admin"
                    },
                    "COUCHDB_PASSWORD": {
                      "isOptional": true,
                      "description": "Admin Password",
                      "defaultValue": "{{COUCHDB_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "98e6ea81-22ed-4ebd-afda-68b27d4ece12": {
                      "mountPath": "/bitnami/couchdb"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T16:57:06.293Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_9cbf8243733a48d38eb6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
