{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6166eef1-9d73-4a48-a942-b5c108c856ca",
    "slug": "bettermq",
    "name": "betterMQ",
    "description": "Http Messaging & Scheduling",
    "url": "https://railway.com/deploy/bettermq",
    "upstream": {
      "image": "ghcr.io/bettermq/bettermq:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "bettermq",
      "source": {
        "image": "ghcr.io/bettermq/bettermq:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "bettermq",
      "description": "Port Railway routes HTTP to (must match BETTERMQ_PORT)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BETTERMQ_PORT",
      "service": "bettermq",
      "description": "HTTP listen port for the betterMQ broker",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "bettermq"
      }
    },
    "cli": "railway deploy --template bettermq",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6166eef1-9d73-4a48-a942-b5c108c856ca",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "743aed0c-c50d-48c4-8cb6-27d129930479": {
                  "icon": "https://bettermq.com/assets/logos/svg/icon/betterMQ-icon-brand.svg",
                  "name": "bettermq",
                  "deploy": {
                    "startCommand": "bettermq serve --data-dir /data",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bettermq/bettermq:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes HTTP to (must match BETTERMQ_PORT)",
                      "defaultValue": "{{PORT}}"
                    },
                    "BETTERMQ_PORT": {
                      "isOptional": false,
                      "description": "HTTP listen port for the betterMQ broker",
                      "defaultValue": "{{BETTERMQ_PORT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "743aed0c-c50d-48c4-8cb6-27d129930479": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "bettermq",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-07T11:54:15.772Z",
  "generator_version": "0.1.0"
}
