{
  "manifest_version": "1.0.0",
  "template": {
    "id": "03a37fc3-67e1-4f2c-971c-db519033272a",
    "slug": "drizzle-studio-gateway-1",
    "name": "Drizzle Studio (Gateway)",
    "description": "Drizzle Studio (Gateway) (w/Password + persistent storage) with Railway",
    "url": "https://railway.com/deploy/drizzle-studio-gateway-1",
    "upstream": {
      "image": "ghcr.io/drizzle-team/gateway:latest"
    }
  },
  "services": [
    {
      "name": "Drizzle Studio",
      "source": {
        "image": "ghcr.io/drizzle-team/gateway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Drizzle Studio",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "4983"
    },
    {
      "key": "MASTERPASS",
      "service": "Drizzle Studio",
      "description": "Provide a value for MASTERPASS.",
      "secret": false,
      "strategy": "default",
      "default": "M@sterPassw0rd"
    },
    {
      "key": "STORE_PATH",
      "service": "Drizzle Studio",
      "description": "Provide a value for STORE_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "/app"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "drizzle-studio-gateway-1"
      }
    },
    "cli": "railway deploy --template drizzle-studio-gateway-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "03a37fc3-67e1-4f2c-971c-db519033272a",
            "serializedConfig": {
              "services": {
                "94be316e-02b0-45c8-9aee-b6280374f188": {
                  "icon": "https://gateway.drizzle.studio/favicon.svg",
                  "name": "Drizzle Studio",
                  "source": {
                    "image": "ghcr.io/drizzle-team/gateway:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "4983"
                    },
                    "MASTERPASS": {
                      "defaultValue": "M@sterPassw0rd"
                    },
                    "STORE_PATH": {
                      "defaultValue": "/app"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "94be316e-02b0-45c8-9aee-b6280374f188": {
                      "mountPath": "/app"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T21:40:16.920Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_74987e0443684fcdb2f6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 117,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Drizzle Studio"
  }
}
