{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dc1d965a-228e-43e3-8ec9-197f1a57c235",
    "slug": "campfire-1",
    "name": "Campfire",
    "description": "Super simple group chat, without a subscription.",
    "url": "https://railway.com/deploy/campfire-1",
    "upstream": {
      "repo_url": "https://github.com/basecamp/once-campfire"
    }
  },
  "services": [
    {
      "name": "Campfire",
      "source": {
        "repo": "https://github.com/basecamp/once-campfire"
      },
      "needs_volume": true,
      "volume_mount_path": "/rails/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Campfire",
      "description": "Default application port.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "DISABLE_SSL",
      "service": "Campfire",
      "description": "Disable's SSL in favor of Railway's termination.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILS_LOG_LEVEL",
      "service": "Campfire",
      "description": "Log level tracing for debugging.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Campfire",
      "description": "Default user ID to run inside the Railway service.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "Campfire",
      "description": "Base secret key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "VAPID_PUBLIC_KEY",
      "service": "Campfire",
      "description": "Public key for Voluntary Application Server Identification web push notifications.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "VAPID_PRIVATE_KEY",
      "service": "Campfire",
      "description": "Private key for Voluntary Application Server Identification web push notifications.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "campfire-1"
      }
    },
    "cli": "railway deploy --template campfire-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dc1d965a-228e-43e3-8ec9-197f1a57c235",
            "serializedConfig": {
              "services": {
                "985d57ea-1570-4dc7-8b63-e6aa1a36fc1c": {
                  "icon": "https://once.com/assets/images/logo-campfire.png",
                  "name": "Campfire",
                  "deploy": {
                    "healthcheckPath": "/up"
                  },
                  "source": {
                    "repo": "basecamp/once-campfire",
                    "branch": null,
                    "commitSha": "2aa4141077141335e79cb0eac5a0eec1a57b2772",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Default application port.",
                      "defaultValue": "80"
                    },
                    "DISABLE_SSL": {
                      "isOptional": false,
                      "description": "Disable's SSL in favor of Railway's termination.",
                      "defaultValue": "true"
                    },
                    "RAILS_LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Log level tracing for debugging.",
                      "defaultValue": "info"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Default user ID to run inside the Railway service.",
                      "defaultValue": "0"
                    },
                    "SECRET_KEY_BASE": {
                      "description": "Base secret key.",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "VAPID_PUBLIC_KEY": {
                      "description": "Public key for Voluntary Application Server Identification web push notifications.",
                      "defaultValue": "{{VAPID_PUBLIC_KEY}}"
                    },
                    "VAPID_PRIVATE_KEY": {
                      "description": "Private key for Voluntary Application Server Identification web push notifications.",
                      "defaultValue": "{{VAPID_PRIVATE_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "985d57ea-1570-4dc7-8b63-e6aa1a36fc1c": {
                      "mountPath": "/rails/storage",
                      "backupSchedules": [
                        "WEEKLY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Campfire",
      "method": "GET",
      "path": "/up",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T04:14:46.774Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T22:40:45.568Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8b4c271e647f49ccacc8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 276,
    "typical_build_seconds": 180,
    "typical_start_seconds": 20,
    "slowest_service": "Campfire"
  }
}
