{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4baccede-38e4-435f-b0b0-2743fc297e67",
    "slug": "OKpPqB",
    "name": "Convex",
    "description": "Convex is the open-source reactive database for app developers.",
    "url": "https://railway.com/deploy/OKpPqB",
    "upstream": {
      "image": "ghcr.io/get-convex/convex-dashboard:latest"
    }
  },
  "services": [
    {
      "name": "convex-dashboard",
      "source": {
        "image": "ghcr.io/get-convex/convex-dashboard:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "convex-backend",
      "source": {
        "image": "ghcr.io/get-convex/convex-backend:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/convex/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "convex-dashboard",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "6791"
    },
    {
      "key": "NEXT_PUBLIC_DEPLOYMENT_URL",
      "service": "convex-dashboard",
      "description": "convex-backen url to connect to",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "convex-backend",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3210"
    },
    {
      "key": "INSTANCE_NAME",
      "service": "convex-backend",
      "description": "Instance name",
      "secret": false,
      "strategy": "default",
      "default": "self-hosted-convex"
    },
    {
      "key": "DISABLE_BEACON",
      "service": "convex-backend",
      "description": "Optional tracking beacon to convex.dev",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INSTANCE_SECRET",
      "service": "convex-backend",
      "description": "Instance secret",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CONVEX_SITE_ORIGIN",
      "service": "convex-backend",
      "description": "Public http url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CONVEX_CLOUD_ORIGIN",
      "service": "convex-backend",
      "description": "Public instance url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CONVEX_SELF_HOSTED_URL",
      "service": "convex-backend",
      "description": "Public instance url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "OKpPqB"
      }
    },
    "cli": "railway deploy --template OKpPqB",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4baccede-38e4-435f-b0b0-2743fc297e67",
            "serializedConfig": {
              "services": {
                "14e1a74e-583c-42df-9eb2-027086608f65": {
                  "name": "convex-dashboard",
                  "source": {
                    "image": "ghcr.io/get-convex/convex-dashboard:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "6791"
                    },
                    "NEXT_PUBLIC_DEPLOYMENT_URL": {
                      "description": "convex-backen url to connect to",
                      "defaultValue": "https://${{convex-backend.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "9b018056-365a-49c4-a09b-69786e0768d0": {
                  "name": "convex-backend",
                  "source": {
                    "image": "ghcr.io/get-convex/convex-backend:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "3210"
                    },
                    "INSTANCE_NAME": {
                      "description": "Instance name",
                      "defaultValue": "self-hosted-convex"
                    },
                    "DISABLE_BEACON": {
                      "description": "Optional tracking beacon to convex.dev",
                      "defaultValue": "true"
                    },
                    "INSTANCE_SECRET": {
                      "description": "Instance secret",
                      "defaultValue": "{{INSTANCE_SECRET}}"
                    },
                    "CONVEX_SITE_ORIGIN": {
                      "description": "Public http url",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/http"
                    },
                    "CONVEX_CLOUD_ORIGIN": {
                      "description": "Public instance url",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CONVEX_SELF_HOSTED_URL": {
                      "description": "Public instance url",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "9b018056-365a-49c4-a09b-69786e0768d0": {
                      "mountPath": "/convex/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-17T22:14:38.342Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-16T16:25:39.137Z",
  "success_rate_30d": 0.25,
  "validation": {
    "last_run_id": "run_c47cde13e35c4152bab4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "convex-dashboard"
  }
}
