{
  "manifest_version": "1.0.0",
  "template": {
    "id": "31ca6b3f-5e72-4268-9081-5567b7a30fb6",
    "slug": "bayesian-quiz",
    "name": "bayesian-quiz",
    "description": "Quantified pub quiz from the PyData Helsinki meetup",
    "url": "https://railway.com/deploy/bayesian-quiz",
    "upstream": {
      "repo_url": "https://github.com/jkseppan/bayesian-quiz"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "bayesian-quiz",
      "source": {
        "repo": "https://github.com/jkseppan/bayesian-quiz"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "QUIZMASTER_PASS",
      "service": "bayesian-quiz",
      "description": "Password for the quizmaster",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "QUIZMASTER_USER",
      "service": "bayesian-quiz",
      "description": "User name for the quizmaster",
      "secret": false,
      "strategy": "default",
      "default": "quizmaster"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "bayesian-quiz"
      }
    },
    "cli": "railway deploy --template bayesian-quiz",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "31ca6b3f-5e72-4268-9081-5567b7a30fb6",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a2f1e7ea-a1d3-41f3-b8ea-b339b503f9d8": {
                  "icon": null,
                  "name": "bayesian-quiz",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/jkseppan/bayesian-quiz",
                    "rootDirectory": null
                  },
                  "variables": {
                    "QUIZMASTER_PASS": {
                      "isOptional": false,
                      "description": "Password for the quizmaster",
                      "defaultValue": "{{QUIZMASTER_PASS}}"
                    },
                    "QUIZMASTER_USER": {
                      "isOptional": false,
                      "description": "User name for the quizmaster",
                      "defaultValue": "quizmaster"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "bayesian-quiz",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
