{
  "manifest_version": "1.0.0",
  "template": {
    "id": "df52c271-eeca-41d3-bf3f-97d6300fb5cc",
    "slug": "campfire",
    "name": "Campfire",
    "description": "Super simple group chat, without a subscription.",
    "url": "https://railway.com/deploy/campfire",
    "upstream": {
      "repo_url": "https://github.com/heyjorgedev/once-campfire"
    }
  },
  "services": [
    {
      "name": "Campfire",
      "source": {
        "repo": "https://github.com/heyjorgedev/once-campfire"
      },
      "needs_volume": true,
      "volume_mount_path": "/rails/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Campfire",
      "description": "Don't change this unless you know what you are doing",
      "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": "set these to a valid keypair to allow sending Web Push notifications. You can generate a new keypair by using https://www.attheminute.com/us/vapid-key-generator",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "VAPID_PRIVATE_KEY",
      "service": "Campfire",
      "description": "set these to a valid keypair to allow sending Web Push notifications. You can generate a new keypair by using 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": "campfire"
      }
    },
    "cli": "railway deploy --template campfire",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "df52c271-eeca-41d3-bf3f-97d6300fb5cc",
            "serializedConfig": {
              "services": {
                "d8c34158-0451-4f96-a943-9ae8c8bcd70c": {
                  "icon": "https://once.com/assets/images/logo-campfire.png",
                  "name": "Campfire",
                  "deploy": {
                    "healthcheckPath": "/up"
                  },
                  "source": {
                    "repo": "heyjorgedev/once-campfire",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Don't change this unless you know what you are doing",
                      "defaultValue": "80"
                    },
                    "DISABLE_SSL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "0"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "VAPID_PUBLIC_KEY": {
                      "isOptional": false,
                      "description": "set these to a valid keypair to allow sending Web Push notifications. You can generate a new keypair by using https://www.attheminute.com/us/vapid-key-generator",
                      "defaultValue": "{{VAPID_PUBLIC_KEY}}"
                    },
                    "VAPID_PRIVATE_KEY": {
                      "isOptional": false,
                      "description": "set these to a valid keypair to allow sending Web Push notifications. You can generate a new keypair by using https://www.attheminute.com/us/vapid-key-generator",
                      "defaultValue": "{{VAPID_PRIVATE_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "d8c34158-0451-4f96-a943-9ae8c8bcd70c": {
                      "mountPath": "/rails/storage"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Campfire",
      "method": "GET",
      "path": "/up",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T20:44:01.491Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fbf33bcf7a084887b2c7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 286,
    "typical_build_seconds": 232,
    "typical_start_seconds": 10,
    "slowest_service": "Campfire"
  }
}
