{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ec35037c-5717-4a5b-bef8-b1a5a0dcb853",
    "slug": "once-campfire",
    "name": "Once Campfire",
    "description": "Simple, hostable, open source chatting.",
    "url": "https://railway.com/deploy/once-campfire",
    "upstream": {
      "image": "ghcr.io/basecamp/once-campfire:main"
    }
  },
  "services": [
    {
      "name": "Campfire",
      "source": {
        "image": "ghcr.io/basecamp/once-campfire:main"
      },
      "needs_volume": true,
      "volume_mount_path": "/rails/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Campfire",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "DISABLE_SSL",
      "service": "Campfire",
      "description": "Provide a value for DISABLE_SSL.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Campfire",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "Campfire",
      "description": "Provide a value for SECRET_KEY_BASE.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "VAPID_PUBLIC_KEY",
      "service": "Campfire",
      "description": "Your public API key. You can generate one here: https://www.attheminute.com/us/vapid-key-generator",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "VAPID_PRIVATE_KEY",
      "service": "Campfire",
      "description": "Your private API key. You can generate one here: https://www.attheminute.com/us/vapid-key-generator",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "once-campfire"
      }
    },
    "cli": "railway deploy --template once-campfire",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ec35037c-5717-4a5b-bef8-b1a5a0dcb853",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "e490126c-e50d-4581-9d2c-9742fff58c03": {
                  "icon": "https://once.com/assets/images/logo-campfire.png",
                  "name": "Campfire",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/basecamp/once-campfire:main"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "80"
                    },
                    "DISABLE_SSL": {
                      "isOptional": false,
                      "defaultValue": "true"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "0"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "VAPID_PUBLIC_KEY": {
                      "isOptional": false,
                      "description": "Your public API key. You can generate one here: https://www.attheminute.com/us/vapid-key-generator",
                      "defaultValue": "{{VAPID_PUBLIC_KEY}}"
                    },
                    "VAPID_PRIVATE_KEY": {
                      "isOptional": false,
                      "description": "Your private API key. You can generate one here: https://www.attheminute.com/us/vapid-key-generator",
                      "defaultValue": "{{VAPID_PRIVATE_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "e490126c-e50d-4581-9d2c-9742fff58c03": {
                      "mountPath": "/rails/storage"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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-18T17:37:02.654Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1de4b57f56164455a69b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 50,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Campfire"
  }
}
