{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9c1a1cc4-a94f-4c06-b143-6ba46cd8e602",
    "slug": "bull-board",
    "name": "Bull Board",
    "description": "BullMQ dashboard with auto-discovery, multi-Redis & auth",
    "url": "https://railway.com/deploy/bull-board",
    "upstream": {
      "image": "ghcr.io/wfalowski/bull-board-hono:latest"
    }
  },
  "services": [
    {
      "name": "Bull Board",
      "source": {
        "image": "ghcr.io/wfalowski/bull-board-hono:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "BASE_PATH",
      "service": "Bull Board",
      "description": "Bull board UI base path",
      "secret": false,
      "strategy": "default",
      "default": "/"
    },
    {
      "key": "REDIS_URL",
      "service": "Bull Board",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AUTH_PASSWORD",
      "service": "Bull Board",
      "description": "Basic auth password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AUTH_USERNAME",
      "service": "Bull Board",
      "description": "Basic auth user name",
      "secret": false,
      "strategy": "default",
      "default": "queue"
    },
    {
      "key": "QUEUE_DISCOVERY_INTERVAL",
      "service": "Bull Board",
      "description": "Queue discovery interval",
      "secret": false,
      "strategy": "default",
      "default": "10000"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "bull-board"
      }
    },
    "cli": "railway deploy --template bull-board",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9c1a1cc4-a94f-4c06-b143-6ba46cd8e602",
            "serializedConfig": {
              "services": {
                "843ec442-06a7-4684-914e-58fcac7a2f01": {
                  "name": "Bull Board",
                  "source": {
                    "image": "ghcr.io/wfalowski/bull-board-hono:latest"
                  },
                  "variables": {
                    "BASE_PATH": {
                      "isOptional": false,
                      "description": "Bull board UI base path",
                      "defaultValue": "/"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "AUTH_PASSWORD": {
                      "isOptional": true,
                      "description": "Basic auth password",
                      "defaultValue": "{{AUTH_PASSWORD}}"
                    },
                    "AUTH_USERNAME": {
                      "isOptional": true,
                      "description": "Basic auth user name",
                      "defaultValue": "queue"
                    },
                    "QUEUE_DISCOVERY_INTERVAL": {
                      "isOptional": false,
                      "description": "Queue discovery interval",
                      "defaultValue": "10000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "96ea79cc-0d7c-46be-a088-2536211cd991": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to redis externally",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "96ea79cc-0d7c-46be-a088-2536211cd991": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T15:41:10.788Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c190e3888c1d4c9eba5d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 52,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Bull Board"
  }
}
