{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4f2ae985-2bc1-4a93-be89-3beff06e0571",
    "slug": "oeQY9c",
    "name": "kill bill",
    "description": "Open-Source Subscription Billing & Payments Platform",
    "url": "https://railway.com/deploy/oeQY9c",
    "upstream": {
      "image": "killbill/kaui:2.0.11"
    }
  },
  "services": [
    {
      "name": "killbill",
      "source": {
        "image": "killbill/killbill:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "kaui",
      "source": {
        "image": "killbill/kaui:2.0.11"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MariaDB",
      "source": {
        "image": "killbill/mariadb:0.24"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "killbill",
      "description": "default port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "KILLBILL_DAO_URL",
      "service": "killbill",
      "description": "url to conect to mariadb",
      "secret": false,
      "strategy": "default",
      "default": "jdbc:mysql://mariadb:3306/killbill"
    },
    {
      "key": "KILLBILL_DAO_USER",
      "service": "killbill",
      "description": "default user",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "KILLBILL_CATALOG_URI",
      "service": "killbill",
      "description": "Just default config.",
      "secret": false,
      "strategy": "default",
      "default": "SpyCarAdvanced.xml"
    },
    {
      "key": "KILLBILL_DAO_PASSWORD",
      "service": "killbill",
      "description": "maria db root password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "kaui",
      "description": "defaul port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "KAUI_KILLBILL_URL",
      "service": "kaui",
      "description": "killbill internal url",
      "secret": false,
      "strategy": "default",
      "default": "http://killbill:8080"
    },
    {
      "key": "KAUI_CONFIG_DAO_URL",
      "service": "kaui",
      "description": "connect to mariadb",
      "secret": false,
      "strategy": "default",
      "default": "jdbc:mysql://mariadb:3306/kaui"
    },
    {
      "key": "KAUI_CONFIG_DAO_USER",
      "service": "kaui",
      "description": "default user",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "KAUI_CONFIG_DAO_PASSWORD",
      "service": "kaui",
      "description": "Mariadb root password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MariaDB",
      "description": "default password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "oeQY9c"
      }
    },
    "cli": "railway deploy --template oeQY9c",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4f2ae985-2bc1-4a93-be89-3beff06e0571",
            "serializedConfig": {
              "services": {
                "53b1240c-1db3-48bb-9769-b2d72c8e07da": {
                  "name": "killbill",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "killbill/killbill:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "default port",
                      "defaultValue": "8080"
                    },
                    "KILLBILL_DAO_URL": {
                      "isOptional": false,
                      "description": "url to conect to mariadb",
                      "defaultValue": "jdbc:mysql://mariadb:3306/killbill"
                    },
                    "KILLBILL_DAO_USER": {
                      "isOptional": false,
                      "description": "default user",
                      "defaultValue": "root"
                    },
                    "KILLBILL_CATALOG_URI": {
                      "isOptional": false,
                      "description": "Just default config.",
                      "defaultValue": "SpyCarAdvanced.xml"
                    },
                    "KILLBILL_DAO_PASSWORD": {
                      "isOptional": false,
                      "description": "maria db root password",
                      "defaultValue": "${{MariaDB.MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                },
                "77aaf5b4-b76a-4871-a07c-af26140f3a30": {
                  "name": "kaui",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "killbill/kaui:2.0.11"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "defaul port",
                      "defaultValue": "8080"
                    },
                    "KAUI_KILLBILL_URL": {
                      "isOptional": false,
                      "description": "killbill internal url",
                      "defaultValue": "http://killbill:8080"
                    },
                    "KAUI_CONFIG_DAO_URL": {
                      "isOptional": false,
                      "description": "connect to mariadb",
                      "defaultValue": "jdbc:mysql://mariadb:3306/kaui"
                    },
                    "KAUI_CONFIG_DAO_USER": {
                      "isOptional": false,
                      "description": "default user",
                      "defaultValue": "root"
                    },
                    "KAUI_CONFIG_DAO_PASSWORD": {
                      "isOptional": false,
                      "description": "Mariadb root password",
                      "defaultValue": "${{MariaDB.MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                },
                "d7b1e9e7-2a34-46c2-879d-1baf4b6fd990": {
                  "name": "MariaDB",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "killbill/mariadb:0.24"
                  },
                  "variables": {
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "default password",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "d7b1e9e7-2a34-46c2-879d-1baf4b6fd990": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T16:15:50.233Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b5e9b82bc57643daa70f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 87,
    "typical_build_seconds": 0,
    "typical_start_seconds": 15,
    "slowest_service": "killbill"
  }
}
