{
  "manifest_version": "1.0.0",
  "template": {
    "id": "33ec959f-f5e3-4b38-83e1-123b18fb7374",
    "slug": "filebrowser-quantum-railway",
    "name": "Filebrowser Quantum",
    "description": "Dropbox alternative.  File manager: browse, search and share files",
    "url": "https://railway.com/deploy/filebrowser-quantum-railway",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/filebrowser-quantum-railway"
    }
  },
  "services": [
    {
      "name": "filebrowser",
      "source": {
        "repo": "https://github.com/gridalpha/filebrowser-quantum-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "filebrowser",
      "description": "HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "FILEBROWSER_TOTP_SECRET",
      "service": "filebrowser",
      "description": "Encrypts stored TOTP secrets",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "filebrowser",
      "description": "Dockerfile the service builds",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "FILEBROWSER_INSTANCE_NAME",
      "service": "filebrowser",
      "description": "Title shown in the UI",
      "secret": false,
      "strategy": "default",
      "default": "FileBrowser Quantum"
    },
    {
      "key": "FILEBROWSER_ADMIN_PASSWORD",
      "service": "filebrowser",
      "description": "Admin password, applied every boot",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "FILEBROWSER_JWT_TOKEN_SECRET",
      "service": "filebrowser",
      "description": "Signs sessions and share links",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "filebrowser-quantum-railway"
      }
    },
    "cli": "railway deploy --template filebrowser-quantum-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "33ec959f-f5e3-4b38-83e1-123b18fb7374",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b0dbf672-6b78-4e1a-aab8-6305fcd21f22": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/filebrowser-quantum.svg",
                  "name": "filebrowser",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/filebrowser-quantum-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP listening port",
                      "defaultValue": "8080"
                    },
                    "FILEBROWSER_TOTP_SECRET": {
                      "isOptional": false,
                      "description": "Encrypts stored TOTP secrets",
                      "defaultValue": "{{FILEBROWSER_TOTP_SECRET}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile the service builds",
                      "defaultValue": "Dockerfile"
                    },
                    "FILEBROWSER_INSTANCE_NAME": {
                      "isOptional": false,
                      "description": "Title shown in the UI",
                      "defaultValue": "FileBrowser Quantum"
                    },
                    "FILEBROWSER_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, applied every boot",
                      "defaultValue": "{{FILEBROWSER_ADMIN_PASSWORD}}"
                    },
                    "FILEBROWSER_JWT_TOKEN_SECRET": {
                      "isOptional": false,
                      "description": "Signs sessions and share links",
                      "defaultValue": "{{FILEBROWSER_JWT_TOKEN_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b0dbf672-6b78-4e1a-aab8-6305fcd21f22": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T17:14:56.089Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4a53c9265f704413bf3b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 81,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "filebrowser"
  }
}
