{
  "manifest_version": "1.0.0",
  "template": {
    "id": "862498d6-c3f5-40bc-bacd-522ceb44e679",
    "slug": "obsidian-livesync-couchdb",
    "name": "Obsidian Self-hosted LiveSync CouchDB",
    "description": "One-click CouchDB server for Obsidian Self-hosted LiveSync sync plugin.",
    "url": "https://railway.com/deploy/obsidian-livesync-couchdb",
    "upstream": {
      "repo_url": "https://github.com/BURNI80/obsidian-livesync-railway"
    }
  },
  "services": [
    {
      "name": "Obsidian Livesync",
      "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-livesync-couchdb"
      }
    },
    "cli": "railway deploy --template obsidian-livesync-couchdb",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "862498d6-c3f5-40bc-bacd-522ceb44e679",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "014d4fa9-cc4e-4d08-83cd-2bb8998f4fed": {
                  "icon": "https://forum.obsidian.md/uploads/default/original/3X/9/f/9f1b5b46aed533f5386cf276ab2cdce48cbd2e25.png",
                  "name": "Obsidian Livesync",
                  "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": {
                    "014d4fa9-cc4e-4d08-83cd-2bb8998f4fed": {
                      "mountPath": "/opt/couchdb/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-12T04:14:32.537Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T22:06:21.472Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_006b91f5edf749439a81",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 118,
    "typical_build_seconds": 41,
    "typical_start_seconds": 15,
    "slowest_service": "Obsidian Livesync"
  }
}
