{
  "manifest_version": "1.0.0",
  "template": {
    "id": "22d8ae0a-a83b-41dc-9a1e-b66be26fd502",
    "slug": "obsidian-self-hosted-livesync-couchdb-2",
    "name": "Obsidian Self-hosted LiveSync CouchDB 2",
    "description": "One-click CouchDB server for Obsidian Self-hosted LiveSync sync plugin.",
    "url": "https://railway.com/deploy/obsidian-self-hosted-livesync-couchdb-2",
    "upstream": {
      "repo_url": "https://github.com/BURNI80/obsidian-livesync-railway"
    }
  },
  "services": [
    {
      "name": "obsidian-livesync-couchdb",
      "source": {
        "repo": "https://github.com/BURNI80/obsidian-livesync-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/couchdb/data",
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "obsidian-self-hosted-livesync-couchdb-2"
      }
    },
    "cli": "railway deploy --template obsidian-self-hosted-livesync-couchdb-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "22d8ae0a-a83b-41dc-9a1e-b66be26fd502",
            "serializedConfig": {
              "services": {
                "646b7b96-42bd-4bf0-b56c-5851ef8a10dc": {
                  "icon": null,
                  "name": "obsidian-livesync-couchdb",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/BURNI80/obsidian-livesync-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "COUCHDB_USER": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "COUCHDB_PASSWORD": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "646b7b96-42bd-4bf0-b56c-5851ef8a10dc": {
                      "mountPath": "/opt/couchdb/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-05T23:58:24.188Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_39ce0f2e1dfd4d56864f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 73,
    "typical_build_seconds": 20,
    "typical_start_seconds": 0,
    "slowest_service": "obsidian-livesync-couchdb"
  }
}
