{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9f186cbe-35c9-4a26-b0c7-7e88312de41b",
    "slug": "open-design",
    "name": "Open Design",
    "description": "Self-hosted Open Design: AI prototypes, decks, and images",
    "url": "https://railway.com/deploy/open-design",
    "upstream": {
      "image": "ghcr.io/nexu-io/od:latest"
    }
  },
  "services": [
    {
      "name": "Open Design",
      "source": {
        "image": "ghcr.io/nexu-io/od:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/.od",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Open Design",
      "description": "Must stay 7456 so Railway healthchecks hit the daemon.",
      "secret": false,
      "strategy": "default",
      "default": "7456"
    },
    {
      "key": "OD_PORT",
      "service": "Open Design",
      "description": "Open Design listen port. Keep 7456 to match PORT.",
      "secret": false,
      "strategy": "default",
      "default": "7456"
    },
    {
      "key": "NODE_ENV",
      "service": "Open Design",
      "description": "Node environment. Leave as production.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "Open Design",
      "description": "Node heap cap recommended by the Open Design image.",
      "secret": false,
      "strategy": "default",
      "default": "--max-old-space-size=192"
    },
    {
      "key": "OD_API_TOKEN",
      "service": "Open Design",
      "description": "Login password. Username is always open-design. Choose a password now; you will type it in the browser after deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OD_BIND_HOST",
      "service": "Open Design",
      "description": "Bind address. Leave 0.0.0.0 so the public URL works.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Open Design",
      "description": "Run as root so the /app/.od volume is writable. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "OD_ALLOWED_ORIGINS",
      "service": "Open Design",
      "description": "CORS allowlist. Leave as the Railway public URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OD_PUBLIC_BASE_URL",
      "service": "Open Design",
      "description": "Public site URL. Leave as the Railway public URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-design"
      }
    },
    "cli": "railway deploy --template open-design",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9f186cbe-35c9-4a26-b0c7-7e88312de41b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "563eadd8-1d2f-40c9-969e-20b5ab74c42e": {
                  "icon": null,
                  "name": "Open Design",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/nexu-io/od:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Must stay 7456 so Railway healthchecks hit the daemon.",
                      "defaultValue": "7456"
                    },
                    "OD_PORT": {
                      "isOptional": true,
                      "description": "Open Design listen port. Keep 7456 to match PORT.",
                      "defaultValue": "7456"
                    },
                    "NODE_ENV": {
                      "isOptional": true,
                      "description": "Node environment. Leave as production.",
                      "defaultValue": "production"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": true,
                      "description": "Node heap cap recommended by the Open Design image.",
                      "defaultValue": "--max-old-space-size=192"
                    },
                    "OD_API_TOKEN": {
                      "isOptional": false,
                      "description": "Login password. Username is always open-design. Choose a password now; you will type it in the browser after deploy.",
                      "defaultValue": "{{OD_API_TOKEN}}"
                    },
                    "OD_BIND_HOST": {
                      "isOptional": true,
                      "description": "Bind address. Leave 0.0.0.0 so the public URL works.",
                      "defaultValue": "0.0.0.0"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": true,
                      "description": "Run as root so the /app/.od volume is writable. Do not change.",
                      "defaultValue": "0"
                    },
                    "OD_ALLOWED_ORIGINS": {
                      "isOptional": true,
                      "description": "CORS allowlist. Leave as the Railway public URL.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OD_PUBLIC_BASE_URL": {
                      "isOptional": true,
                      "description": "Public site URL. Leave as the Railway public URL.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "563eadd8-1d2f-40c9-969e-20b5ab74c42e": {
                      "mountPath": "/app/.od"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Open Design",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T18:46:46.960Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T17:57:58.716Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_693c2bce25fb424fb372",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 145,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "Open Design"
  }
}
