{
  "manifest_version": "1.0.0",
  "template": {
    "id": "74d94514-593b-4e95-be64-cf96e8bd2138",
    "slug": "couchdb",
    "name": "CouchDB | Open Source NoSQL Database",
    "description": "Self Host CouchDB. Persistent storage, Fauxton admin UI and more.",
    "url": "https://railway.com/deploy/couchdb",
    "upstream": {
      "image": "couchdb:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "CouchDB",
      "source": {
        "image": "couchdb:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/couchdb/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "COUCHDB_USER",
      "service": "CouchDB",
      "description": "Admin username",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "COUCHDB_SECRET",
      "service": "CouchDB",
      "description": "Cluster secret (static)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "COUCHDB_PASSWORD",
      "service": "CouchDB",
      "description": "Create  Admin password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "couchdb"
      }
    },
    "cli": "railway deploy --template couchdb",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "74d94514-593b-4e95-be64-cf96e8bd2138",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "90b9e6d3-67f6-491b-803b-dd34304c9c55": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/couchdb.svg",
                  "name": "CouchDB",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "couchdb:latest"
                  },
                  "variables": {
                    "COUCHDB_USER": {
                      "isOptional": false,
                      "description": "Admin username",
                      "defaultValue": "{{COUCHDB_USER}}"
                    },
                    "COUCHDB_SECRET": {
                      "isOptional": false,
                      "description": "Cluster secret (static)",
                      "defaultValue": "{{COUCHDB_SECRET}}"
                    },
                    "COUCHDB_PASSWORD": {
                      "isOptional": false,
                      "description": "Create  Admin password",
                      "defaultValue": "{{COUCHDB_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "90b9e6d3-67f6-491b-803b-dd34304c9c55": {
                      "mountPath": "/opt/couchdb/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
