filebrowser
by QuenchWorks
Self-hosted web file manager (Go + embedded web UI). Hardened by QuenchWorks as a minimal, nonroot, CVE-gated image, cosign-signed and pinned by digest.
About this chart
Quenchworks filebrowser
Hardened File Browser web file manager on a minimal, nonroot, CVE-gated image pinned by digest. Single node; persists its SQLite DB and the served files directory to a PVC.
Install
helm install my-filebrowser oci://ghcr.io/quenchworks/charts/filebrowser
Then port-forward and open the web UI:
kubectl port-forward svc/my-filebrowser-filebrowser 8080:80
# http://127.0.0.1:8080
On first boot File Browser creates an
adminuser with a randomly generated password, printed to the pod logs. Read it and change it after first login:kubectl logs my-filebrowser-filebrowser-0 | grep -i password
Verify the image
cosign verify ghcr.io/quenchworks/images/filebrowser \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Each image also ships an SPDX SBOM and SLSA build provenance as attestations. Verify them with the GitHub CLI:
gh attestation verify oci://ghcr.io/quenchworks/images/filebrowser \
--owner quenchworks
Values
| Key | Default | Notes |
|---|---|---|
image.repository | ghcr.io/quenchworks/images/filebrowser | |
image.digest | (CI-written) | Required. Charts pin by digest, never a tag. |
replicaCount | 1 | Stateful single node (SQLite); do not scale out. |
containerPort | 8080 | Port File Browser binds (nonroot). Wired to FB_PORT. |
service.port | 80 | Service port, forwards to the container's http port. |
service.httpsPort | 443 | Service port for the TLS listener (container 8443) when tls.enabled. |
tls.enabled | false | Serve the web UI over HTTPS on the app's own listener; the certificate is mounted at /tls. |
tls.existingSecret | "" | Use this kubernetes.io/tls Secret (1st choice). |
tls.certManager.enabled | false | Request a cert-manager Certificate from tls.certManager.issuerRef (2nd choice). |
tls.selfSigned.validityDays | 365 | Otherwise Helm generates a CA + certificate, kept across upgrades. |
persistence.enabled | true | 1Gi PVC; DB at /database, served files at /srv. |
persistence.size | 1Gi | |
persistence.existingClaim | "" | Bind an existing PVC instead of provisioning one. |
serviceAccount.create | true | Token automount is off. |
rbac.create | false | Minimal empty Role/RoleBinding when enabled. |
networkPolicy.enabled | true | Client ingress from the namespace; set allowExternal: true to open it. |
podDisruptionBudget.enabled | true | minAvailable: 1. |
ingress.enabled | false | Create an Ingress. With tls.enabled it routes to 443: set the backend protocol to HTTPS. |
ingress.className | "" | IngressClass to claim it. Empty leaves it unset, so the cluster default applies. |
ingress.annotations | {} | Controller annotations (rewrite targets, body size, cert-manager issuer, ...). |
ingress.servicePort | null | Backend port. Unset: service.httpsPort with tls.enabled, else service.port. |
ingress.hosts | [] | e.g. [{host: app.example.com}]. A host with no paths gets a single / Prefix path. |
ingress.tls | [] | Standard Ingress TLS list, e.g. [{hosts: [app.example.com], secretName: app-tls}]. |
Further configuration uses File Browser's FB_* environment variables via
extraEnvVars (or a Secret referenced by extraEnvVarsSecret):
extraEnvVars:
- name: FB_NOAUTH
value: "false"
Security
Runs nonroot (uid 1001) on a read-only root filesystem with all capabilities
dropped. Only the PVC-backed /database (SQLite DB) and /srv (served files)
paths are writable. File Browser serves /health (returns {"status":"OK"}),
used for both liveness and readiness probes.
Notes
Single node only: File Browser stores everything in a local SQLite database plus the served files directory, so it cannot be horizontally scaled.
Deploy filebrowser with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has filebrowser on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfilebrowser is pinned at v0.0.18 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply