{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2d49b7d5-faee-47ff-8b0a-0e428cc34d51",
    "slug": "industrious-happiness",
    "name": "FileBrowser",
    "description": "FileBrowser — web-based file manager for uploading and sharing files",
    "url": "https://railway.com/deploy/industrious-happiness",
    "upstream": {
      "repo_url": "https://github.com/INAPP-Mobile/railway-filebrowser"
    }
  },
  "services": [
    {
      "name": "File Browser",
      "source": {
        "repo": "https://github.com/INAPP-Mobile/railway-filebrowser"
      },
      "needs_volume": true,
      "volume_mount_path": "/srv",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "File Browser",
      "description": "Port File Browser listens on (default: 8080). Railway injects PORT for routing.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ROOT",
      "service": "File Browser",
      "description": "Root directory to serve via the file browser (default: /srv). Mount a volume here for persistence.",
      "secret": false,
      "strategy": "default",
      "default": "/srv"
    },
    {
      "key": "FB_PASSWORD",
      "service": "File Browser",
      "description": "Default admin password. Auto-generated on first deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "FB_USERNAME",
      "service": "File Browser",
      "description": "Default admin username for the web UI.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "industrious-happiness"
      }
    },
    "cli": "railway deploy --template industrious-happiness",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2d49b7d5-faee-47ff-8b0a-0e428cc34d51",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7d1b60aa-b50d-4360-bb19-d5cb509888e1": {
                  "icon": null,
                  "name": "File Browser",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/INAPP-Mobile/railway-filebrowser",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port File Browser listens on (default: 8080). Railway injects PORT for routing.",
                      "defaultValue": "8080"
                    },
                    "ROOT": {
                      "description": "Root directory to serve via the file browser (default: /srv). Mount a volume here for persistence.",
                      "defaultValue": "/srv"
                    },
                    "FB_PASSWORD": {
                      "description": "Default admin password. Auto-generated on first deploy.",
                      "defaultValue": "{{FB_PASSWORD}}"
                    },
                    "FB_USERNAME": {
                      "description": "Default admin username for the web UI.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "7d1b60aa-b50d-4360-bb19-d5cb509888e1": {
                      "mountPath": "/srv"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-13T10:14:32.962Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-13T08:36:36.242Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0b65a8cbbbbb4c388853",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 50,
    "typical_build_seconds": 10,
    "typical_start_seconds": 10,
    "slowest_service": "File Browser"
  }
}
