{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6ea537b1-14c9-4e72-8053-28cb2856e398",
    "slug": "opencode-webui-wor-1",
    "name": "opencode-webui-workspace",
    "description": "OpenCode dev container: Bun, Wrangler, gh, glab, persistent volume",
    "url": "https://railway.com/deploy/opencode-webui-wor-1",
    "upstream": {
      "repo_url": "https://github.com/NOOBGLITCH/opencode-webui-workspace"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "opencode",
      "source": {
        "repo": "https://github.com/NOOBGLITCH/opencode-webui-workspace"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/opencode/workspace",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "RAILWAY_RUN_UID",
      "service": "opencode",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENCODE_SERVER_PASSWORD",
      "service": "opencode",
      "description": "Provide a value for OPENCODE_SERVER_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCODE_SERVER_USERNAME",
      "service": "opencode",
      "description": "Provide a value for OPENCODE_SERVER_USERNAME.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "opencode-webui-wor-1"
      }
    },
    "cli": "railway deploy --template opencode-webui-wor-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6ea537b1-14c9-4e72-8053-28cb2856e398",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "60c86dfb-1c01-4925-940a-454a8b67cf08": {
                  "icon": null,
                  "name": "opencode",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/NOOBGLITCH/opencode-webui-workspace",
                    "rootDirectory": null
                  },
                  "variables": {
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "{{RAILWAY_RUN_UID}}"
                    },
                    "OPENCODE_SERVER_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{OPENCODE_SERVER_PASSWORD}}"
                    },
                    "OPENCODE_SERVER_USERNAME": {
                      "isOptional": false,
                      "defaultValue": "{{OPENCODE_SERVER_USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4096": {
                        "port": 4096
                      }
                    }
                  },
                  "volumeMounts": {
                    "60c86dfb-1c01-4925-940a-454a8b67cf08": {
                      "mountPath": "/home/opencode/workspace"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T10:14:42.292Z",
  "generator_version": "0.1.0"
}
