{
  "manifest_version": "1.0.0",
  "template": {
    "id": "87f301e2-2278-47d6-ba75-d9aafc05a69d",
    "slug": "rabbitmq-starter",
    "name": "RabbitMQ Starter Package",
    "description": "Deploys RabbitMQ and two example apps.",
    "url": "https://railway.com/deploy/rabbitmq-starter",
    "upstream": {
      "image": "ghcr.io/brody192/railway-public-to-private-proxy"
    }
  },
  "services": [
    {
      "name": "Publishing",
      "source": {
        "repo": "https://github.com/railwayapp-templates/rabbitmq"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Receiving",
      "source": {
        "repo": "https://github.com/railwayapp-templates/rabbitmq"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "RabbitMQ",
      "source": {
        "image": "rabbitmq:management"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/rabbitmq",
      "tcp_ports": [
        5672
      ],
      "http": false
    },
    {
      "name": "RabbitMQ Web UI",
      "source": {
        "image": "ghcr.io/brody192/railway-public-to-private-proxy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "RABBITMQ_PRIVATE_URL",
      "service": "Publishing",
      "description": "Private RabbitMQ broker url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Publishing",
      "description": "Alpine Private Networking",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RABBITMQ_PRIVATE_URL",
      "service": "Receiving",
      "description": "Private RabbitMQ broker url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Receiving",
      "description": "Alpine Private Networking",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RABBITMQ_URL",
      "service": "RabbitMQ",
      "description": "Public broker url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RABBITMQ_NODENAME",
      "service": "RabbitMQ",
      "description": "Hostname for RabbitMQ (Don't change this).",
      "secret": false,
      "strategy": "default",
      "default": "rabbit@rabbitmq"
    },
    {
      "key": "RABBITMQ_PRIVATE_URL",
      "service": "RabbitMQ",
      "description": "Private broker url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RABBITMQ_DEFAULT_PASS",
      "service": "RabbitMQ",
      "description": "Default password",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RABBITMQ_DEFAULT_USER",
      "service": "RabbitMQ",
      "description": "Default user",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PROXY_HOST",
      "service": "RabbitMQ Web UI",
      "description": "RabbitMQ internal host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PROXY_PORT",
      "service": "RabbitMQ Web UI",
      "description": "RabbitMQ internal management port",
      "secret": false,
      "strategy": "default",
      "default": "15672"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rabbitmq-starter"
      }
    },
    "cli": "railway deploy --template rabbitmq-starter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "87f301e2-2278-47d6-ba75-d9aafc05a69d",
            "serializedConfig": {
              "services": {
                "0bf5c0a3-e20f-435f-a6b8-d531449fb8df": {
                  "name": "Publishing",
                  "build": {},
                  "deploy": {
                    "startCommand": "node send.js",
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/rabbitmq",
                    "rootDirectory": ""
                  },
                  "variables": {
                    "RABBITMQ_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Private RabbitMQ broker url",
                      "defaultValue": "${{RabbitMQ.RABBITMQ_PRIVATE_URL}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "description": "Alpine Private Networking",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                },
                "33a844e7-5579-4815-bebe-9217c5c2d74f": {
                  "name": "Receiving",
                  "build": {},
                  "deploy": {
                    "startCommand": "node receive.js",
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/rabbitmq",
                    "rootDirectory": ""
                  },
                  "variables": {
                    "RABBITMQ_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Private RabbitMQ broker url",
                      "defaultValue": "${{RabbitMQ.RABBITMQ_PRIVATE_URL}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "description": "Alpine Private Networking",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                },
                "6f1ed277-a73b-46ce-9828-eb51e732c74d": {
                  "icon": "https://www.vectorlogo.zone/logos/rabbitmq/rabbitmq-icon.svg",
                  "name": "RabbitMQ",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"CONFIG_PATH=/etc; SYSTEM_FILE=hosts; echo 127.0.0.1 rabbitmq >> ${CONFIG_PATH}/${SYSTEM_FILE} && echo management.tcp.ip = :: >> /etc/rabbitmq/conf.d/10-defaults.conf && docker-entrypoint.sh rabbitmq-server\"",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "rabbitmq:management",
                    "rootDirectory": null
                  },
                  "variables": {
                    "RABBITMQ_URL": {
                      "isOptional": false,
                      "description": "Public broker url",
                      "defaultValue": "amqp://${{RABBITMQ_DEFAULT_USER}}:${{RABBITMQ_DEFAULT_PASS}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "RABBITMQ_NODENAME": {
                      "isOptional": false,
                      "description": "Hostname for RabbitMQ (Don't change this).",
                      "defaultValue": "rabbit@rabbitmq"
                    },
                    "RABBITMQ_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Private broker url",
                      "defaultValue": "amqp://${{RABBITMQ_DEFAULT_USER}}:${{RABBITMQ_DEFAULT_PASS}}@${{RAILWAY_PRIVATE_DOMAIN}}:5672"
                    },
                    "RABBITMQ_DEFAULT_PASS": {
                      "isOptional": false,
                      "description": "Default password",
                      "defaultValue": "{{RABBITMQ_DEFAULT_PASS}}"
                    },
                    "RABBITMQ_DEFAULT_USER": {
                      "isOptional": false,
                      "description": "Default user",
                      "defaultValue": "{{RABBITMQ_DEFAULT_USER}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5672": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "6f1ed277-a73b-46ce-9828-eb51e732c74d": {
                      "mountPath": "/var/lib/rabbitmq"
                    }
                  }
                },
                "c1c4021c-3d1e-4932-950a-7fc7fe52ed2b": {
                  "icon": "https://www.vectorlogo.zone/logos/rabbitmq/rabbitmq-icon.svg",
                  "name": "RabbitMQ Web UI",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "ghcr.io/brody192/railway-public-to-private-proxy"
                  },
                  "variables": {
                    "PROXY_HOST": {
                      "isOptional": false,
                      "description": "RabbitMQ internal host",
                      "defaultValue": "${{RabbitMQ.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PROXY_PORT": {
                      "isOptional": false,
                      "description": "RabbitMQ internal management port",
                      "defaultValue": "15672"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T10:14:38.021Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T09:24:48.899Z",
  "success_rate_30d": 0.8,
  "validation": {
    "last_run_id": "run_ba881bfc1b1f4390b439",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 86,
    "typical_build_seconds": 56,
    "typical_start_seconds": 10,
    "slowest_service": "Receiving"
  }
}
