{
  "manifest_version": "1.0.0",
  "template": {
    "id": "72a5f188-7240-45bb-88f7-08f69e214fd3",
    "slug": "celld",
    "name": "celld",
    "description": "Cloudflare Workers Durable Objects runtime, one SQLite DB per object",
    "url": "https://railway.com/deploy/celld",
    "upstream": {
      "image": "ghcr.io/denoland/celld:0.0.2"
    }
  },
  "services": [
    {
      "name": "celld",
      "source": {
        "image": "ghcr.io/denoland/celld:0.0.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/celld",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "AWS_REGION",
      "service": "celld",
      "description": "Provide a value for AWS_REGION.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CELLD_WATCH",
      "service": "celld",
      "description": "Provide a value for CELLD_WATCH.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "celld",
      "description": "Provide a value for S3_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CELLD_BUCKET",
      "service": "celld",
      "description": "Provide a value for CELLD_BUCKET.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CELLD_ADVERTISE",
      "service": "celld",
      "description": "Provide a value for CELLD_ADVERTISE.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "celld",
      "description": "Provide a value for AWS_ACCESS_KEY_ID.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "celld",
      "description": "Provide a value for AWS_SECRET_ACCESS_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "celld"
      }
    },
    "cli": "railway deploy --template celld",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "72a5f188-7240-45bb-88f7-08f69e214fd3",
            "serializedConfig": {
              "buckets": {
                "02d940ed-23e2-4d6e-aece-6713ad1b8a73": {
                  "name": "celld-cells"
                }
              },
              "services": {
                "2bd55cd4-cc78-45d3-b289-17dfa51755b8": {
                  "icon": "https://celld.dev/cells-mark.svg",
                  "name": "celld",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'C=/usr/local/bin/celld; if [ \"$CELLD_BUCKET\" = \"s3://\" ] || [ -z \"$CELLD_BUCKET\" ]; then echo; echo \"celld template: storage variables came up EMPTY (a Railway bucket-provisioning race, not a bug in this template). FIX: open this service -> Variables tab -> re-save each storage variable (open it, click save), then Redeploy the service. Railway caches the empty value per-variable until each one is re-saved.\"; echo; sleep 45; exit 1; fi; $C --listen [::]:8080 2>&1 | tee /tmp/boot.log; if grep -q NoSuchKey /tmp/boot.log; then mkdir -p /w/public && printf \"<h1>hello from celld</h1><p>Your node is live and this placeholder page was auto-deployed to your bucket. Replace it any time: install celld on your machine and run celld deploy against this project&#39;s bucket. Docs: celld.dev/docs</p>\" > /w/public/index.html && printf \"{\\\"name\\\":\\\"welcome\\\",\\\"compatibility_date\\\":\\\"2026-01-01\\\",\\\"assets\\\":{\\\"directory\\\":\\\"./public\\\"}}\" > /w/wrangler.jsonc && $C deploy /w && exec $C --listen [::]:8080; fi; exit 1'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/denoland/celld:0.0.2"
                  },
                  "variables": {
                    "AWS_REGION": {
                      "isOptional": false,
                      "defaultValue": "${{celld-cells.REGION}}"
                    },
                    "CELLD_WATCH": {
                      "isOptional": false,
                      "defaultValue": "/var/lib/celld/${{RAILWAY_ENVIRONMENT_NAME}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "defaultValue": "${{celld-cells.ENDPOINT}}"
                    },
                    "CELLD_BUCKET": {
                      "isOptional": false,
                      "defaultValue": "s3://${{celld-cells.BUCKET}}"
                    },
                    "CELLD_ADVERTISE": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "defaultValue": "${{celld-cells.ACCESS_KEY_ID}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{celld-cells.SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "2bd55cd4-cc78-45d3-b289-17dfa51755b8": {
                      "mountPath": "/var/lib/celld"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-15T16:14:47.755Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-15T03:58:28.828Z",
  "success_rate_30d": 0.25,
  "validation": {
    "last_run_id": "run_49f976f2648d4220a78b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 17,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "celld"
  }
}
