filebrowser

by QuenchWorks

Helm chartv0.0.18App 2.63.23Apache-2.0Verified publisher

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 admin user 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

KeyDefaultNotes
image.repositoryghcr.io/quenchworks/images/filebrowser
image.digest(CI-written)Required. Charts pin by digest, never a tag.
replicaCount1Stateful single node (SQLite); do not scale out.
containerPort8080Port File Browser binds (nonroot). Wired to FB_PORT.
service.port80Service port, forwards to the container's http port.
service.httpsPort443Service port for the TLS listener (container 8443) when tls.enabled.
tls.enabledfalseServe 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.enabledfalseRequest a cert-manager Certificate from tls.certManager.issuerRef (2nd choice).
tls.selfSigned.validityDays365Otherwise Helm generates a CA + certificate, kept across upgrades.
persistence.enabledtrue1Gi PVC; DB at /database, served files at /srv.
persistence.size1Gi
persistence.existingClaim""Bind an existing PVC instead of provisioning one.
serviceAccount.createtrueToken automount is off.
rbac.createfalseMinimal empty Role/RoleBinding when enabled.
networkPolicy.enabledtrueClient ingress from the namespace; set allowExternal: true to open it.
podDisruptionBudget.enabledtrueminAvailable: 1.
ingress.enabledfalseCreate 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.servicePortnullBackend 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfilebrowser is pinned at v0.0.18 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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