{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2d720852-aac7-4f01-a2c7-d43ab34d5ba6",
    "slug": "qJ-PpH",
    "name": "MicroBin",
    "description": "A file-sharing and URL shortening web app written in Rust.",
    "url": "https://railway.com/deploy/qJ-PpH",
    "upstream": {
      "image": "danielszabo99/microbin"
    }
  },
  "services": [
    {
      "name": "microbin",
      "source": {
        "image": "danielszabo99/microbin"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "microbin",
      "description": "Sets the port for the server will be listening on.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MICROBIN_PORT",
      "service": "microbin",
      "description": "Sets the port for the server will be listening on.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MICROBIN_DATA_DIR",
      "service": "microbin",
      "description": "Sets the name of the directory where MicroBin creates its database and stores attachments.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "MICROBIN_ADMIN_PASSWORD",
      "service": "microbin",
      "description": "Enables administrator interface at yourserver.com/admin/ # if set, disables it if unset. Will not have any affect unless admin username is also set.",
      "secret": true,
      "strategy": "default",
      "default": "m1cr0b1n"
    },
    {
      "key": "MICROBIN_ADMIN_USERNAME",
      "service": "microbin",
      "description": "Enables administrator interface at yourserver.com/admin/ if set, disables it if unset.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "qJ-PpH"
      }
    },
    "cli": "railway deploy --template qJ-PpH",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2d720852-aac7-4f01-a2c7-d43ab34d5ba6",
            "serializedConfig": {
              "services": {
                "85b55555-2fd9-464c-b049-3e148ca9103d": {
                  "name": "microbin",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "danielszabo99/microbin"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Sets the port for the server will be listening on.",
                      "defaultValue": "8080"
                    },
                    "MICROBIN_PORT": {
                      "isOptional": false,
                      "description": "Sets the port for the server will be listening on.",
                      "defaultValue": "8080"
                    },
                    "MICROBIN_DATA_DIR": {
                      "isOptional": false,
                      "description": "Sets the name of the directory where MicroBin creates its database and stores attachments.",
                      "defaultValue": "/data"
                    },
                    "MICROBIN_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Enables administrator interface at yourserver.com/admin/ # if set, disables it if unset. Will not have any affect unless admin username is also set.",
                      "defaultValue": "m1cr0b1n"
                    },
                    "MICROBIN_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Enables administrator interface at yourserver.com/admin/ if set, disables it if unset.",
                      "defaultValue": "admin"
                    },
                    "MICROBIN_BASIC_AUTH_PASSWORD": {
                      "isOptional": true,
                      "description": "Require password for HTTP Basic Authentication when visiting the service."
                    },
                    "MICROBIN_BASIC_AUTH_USERNAME": {
                      "isOptional": true,
                      "description": "Require username for HTTP Basic Authentication when visiting the service."
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "85b55555-2fd9-464c-b049-3e148ca9103d": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T13:59:34.311Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_230942e13d7844aab736",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 57,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "microbin"
  }
}
