{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5d01f780-cf8b-4169-9cea-2e2657501d21",
    "slug": "_o12zG",
    "name": "RabbitMQ",
    "description": "Feature rich, multi-protocol messaging and streaming broker",
    "url": "https://railway.com/deploy/_o12zG",
    "upstream": {
      "image": "ghcr.io/brody192/railway-public-to-private-proxy"
    }
  },
  "services": [
    {
      "name": "RabbitMQ Web UI",
      "source": {
        "image": "ghcr.io/brody192/railway-public-to-private-proxy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "RabbitMQ",
      "source": {
        "image": "rabbitmq:management"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/rabbitmq",
      "tcp_ports": [
        5672
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "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"
    },
    {
      "key": "RABBITMQ_URL",
      "service": "RabbitMQ",
      "description": "Public 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 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"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "_o12zG"
      }
    },
    "cli": "railway deploy --template _o12zG",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5d01f780-cf8b-4169-9cea-2e2657501d21",
            "serializedConfig": {
              "services": {
                "cbe2db02-a38a-445a-853d-b3a9641fc844": {
                  "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": {}
                },
                "f0334a48-724d-4b1b-95cb-f247c4843ab0": {
                  "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\""
                  },
                  "source": {
                    "image": "rabbitmq:management"
                  },
                  "variables": {
                    "RABBITMQ_URL": {
                      "isOptional": false,
                      "description": "Public 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 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": {
                    "f0334a48-724d-4b1b-95cb-f247c4843ab0": {
                      "mountPath": "/var/lib/rabbitmq"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T04:14:34.944Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T07:51:18.423Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_85e62ff1391c46e7a7a6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 78,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "RabbitMQ Web UI"
  }
}
