{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dc093a4a-128b-434a-9737-c066545ecf13",
    "slug": "self-hosted-obsidian-sync",
    "name": "Obsidian",
    "description": "Self-host Obsidian sync — private CouchDB for LiveSync, mobile ready",
    "url": "https://railway.com/deploy/self-hosted-obsidian-sync",
    "upstream": {
      "repo_url": "https://github.com/two-workspaces/obsidian"
    }
  },
  "services": [
    {
      "name": "Obsidian Livesync",
      "source": {
        "repo": "https://github.com/two-workspaces/obsidian"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Obsidian Livesync",
      "description": "Time zone inside the desktop session.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "Obsidian Livesync",
      "description": "Port for Railway healthcheck probing. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PASSWORD",
      "service": "Obsidian Livesync",
      "description": "Login password for the desktop session. Keep it strong - this gates who can use your cloud Obsidian.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CUSTOM_USER",
      "service": "Obsidian Livesync",
      "description": "Login username for the desktop session.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "self-hosted-obsidian-sync"
      }
    },
    "cli": "railway deploy --template self-hosted-obsidian-sync",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dc093a4a-128b-434a-9737-c066545ecf13",
            "serializedConfig": {
              "services": {
                "c88e9204-933f-40bc-a806-fe5448f791a2": {
                  "icon": "https://forum.obsidian.md/uploads/default/original/3X/9/f/9f1b5b46aed533f5386cf276ab2cdce48cbd2e25.png",
                  "name": "Obsidian Livesync",
                  "source": {
                    "repo": "two-workspaces/obsidian",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Time zone inside the desktop session.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for Railway healthcheck probing. Do not change.",
                      "defaultValue": "3000"
                    },
                    "PASSWORD": {
                      "isOptional": true,
                      "description": "Login password for the desktop session. Keep it strong - this gates who can use your cloud Obsidian.",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "CUSTOM_USER": {
                      "isOptional": true,
                      "description": "Login username for the desktop session.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "c88e9204-933f-40bc-a806-fe5448f791a2": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-28T16:14:58.566Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-18T11:17:00.171Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8f67a3267946402e8c66",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 94,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "Obsidian Livesync"
  }
}
