{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d88bc9b8-4515-47a7-98de-578aaf39e278",
    "slug": "EWaCNw",
    "name": "SiYuan",
    "description": "A privacy-first, fully OSS personal knowledge management software",
    "url": "https://railway.com/deploy/EWaCNw",
    "upstream": {
      "image": "b3log/siyuan"
    }
  },
  "services": [
    {
      "name": "SiYuan",
      "source": {
        "image": "b3log/siyuan"
      },
      "needs_volume": true,
      "volume_mount_path": "/siyuan/workspace",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "SiYuan",
      "description": "The timezone that you reside in (i.e. america/vancouver, america/new_york)",
      "secret": false,
      "strategy": "default",
      "default": "america/los_angeles"
    },
    {
      "key": "PORT",
      "service": "SiYuan",
      "description": "The port that the SiYuan web server runs on",
      "secret": false,
      "strategy": "default",
      "default": "6806"
    },
    {
      "key": "SIYUAN_ACCESS_AUTH_CODE",
      "service": "SiYuan",
      "description": "The authentication code you'll use to login to SiYuan ",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "EWaCNw"
      }
    },
    "cli": "railway deploy --template EWaCNw",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d88bc9b8-4515-47a7-98de-578aaf39e278",
            "serializedConfig": {
              "services": {
                "37045270-03a4-44f5-ad6f-622da1183d8c": {
                  "icon": "https://avatars.githubusercontent.com/u/70468694?s=280&v=4",
                  "name": "SiYuan",
                  "source": {
                    "image": "b3log/siyuan"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": true,
                      "description": "The timezone that you reside in (i.e. america/vancouver, america/new_york)",
                      "defaultValue": "america/los_angeles"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "The port that the SiYuan web server runs on",
                      "defaultValue": "6806"
                    },
                    "SIYUAN_ACCESS_AUTH_CODE": {
                      "isOptional": false,
                      "description": "The authentication code you'll use to login to SiYuan ",
                      "defaultValue": "{{SIYUAN_ACCESS_AUTH_CODE}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "37045270-03a4-44f5-ad6f-622da1183d8c": {
                      "mountPath": "/siyuan/workspace"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T09:13:02.358Z",
  "success_rate_30d": 0.3333,
  "validation": {
    "last_run_id": "run_07ae5aa085d84928b92d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ],
    "typical_ready_seconds": 73,
    "typical_build_seconds": 0,
    "typical_start_seconds": 5,
    "slowest_service": "SiYuan"
  }
}
