homarr

by HelmForge

Helm chartv2.1.2App 2.14.0Apache-2.0Verified publisher

Homarr - modern application dashboard with SQLite or PostgreSQL, Kubernetes integration, and S3 backup.

About this chart

Homarr Helm Chart

Helm chart for deploying Homarr modern application dashboard on Kubernetes using the official ghcr.io/homarr-labs/homarr container image.

Current application version: v2.14.0.

Features

  • Official Homarr image from ghcr.io/homarr-labs/homarr
  • Database backends SQLite3 (default) or PostgreSQL with deterministic auto-detection
  • PostgreSQL subchart optional bundled database deployment using HelmForge PostgreSQL 2.2.1
  • Encryption key management auto-generated or existing secret for SECRET_ENCRYPTION_KEY
  • Kubernetes integration optional workload discovery via ENABLE_KUBERNETES
  • External Redis optional external Redis for multi-instance setups
  • Persistent storage application data in /appdata
  • S3-compatible backup database-aware CronJob using tar for SQLite or pg_dump for PostgreSQL
  • Workload identity backup dedicated ServiceAccount support for ambient AWS credentials
  • Ingress support configurable ingress with TLS
  • Gateway API support optional HTTPRoute for modern Kubernetes ingress controllers
  • Dual-stack ready Service optional ipFamilyPolicy and ipFamilies
  • External Secrets Operator optional projection for the Homarr encryption/auth Secret
  • Chart lock policy source chart does not commit Chart.lock; dependencies are resolved during packaging/validation

Installation

HTTPS Repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install homarr helmforge/homarr

OCI Registry

helm install homarr oci://ghcr.io/helmforgedev/helm/homarr

Quick Start

Default installation uses SQLite3 — no external database required:

helm install homarr helmforge/homarr

Access the web UI at http://<service-ip>:7575 and create your first account.

Architecture

Homarr runs as a single Deployment backed by an /appdata PVC. SQLite is the zero-dependency default. PostgreSQL can be supplied by the optional HelmForge subchart or by an external service. A generated or existing Secret provides the stable encryption material required for saved integration credentials. Ingress and Gateway API resources route through the Service to Homarr's fixed port 7575. See DESIGN.md for trust boundaries, recovery ownership, and supported topologies.

Examples

SQLite with Ingress

ingress:
  enabled: true
  ingressClassName: traefik
  hosts:
    - host: dash.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: homarr-tls
      hosts:
        - dash.example.com

Gateway API HTTPRoute

gateway:
  enabled: true
  parentRefs:
    - name: shared-gateway
      namespace: gateway-system
      sectionName: https
  hostnames:
    - dash.example.com
  path: /
  pathType: PathPrefix

External Secrets Operator

encryption:
  existingSecret: homarr-encryption
  existingSecretKey: secret-encryption-key

externalSecrets:
  enabled: true
  secretStoreRef:
    name: platform-secrets
    kind: ClusterSecretStore
  data:
    - secretKey: secret-encryption-key
      remoteRef:
        key: homarr/credentials
        property: secret-encryption-key
    - secretKey: auth-secret
      remoteRef:
        key: homarr/credentials
        property: auth-secret

PostgreSQL with Kubernetes Integration

homarr:
  enableKubernetes: true

postgresql:
  enabled: true
  auth:
    database: homarr
    username: homarr
    password: "db-password"

External PostgreSQL

database:
  mode: external
  external:
    vendor: postgres
    host: postgres.example.com
    port: "5432"
    name: homarr
    username: homarr
    password: "db-password"

External Redis

redis:
  external: true
  host: redis.example.com
  port: 6379

S3 Backup

backup:
  enabled: true
  schedule: "0 3 * * *"
  s3:
    endpoint: https://s3.example.com
    bucket: homarr-backups
    accessKey: "access-key"
    secretKey: "secret-key"

For AWS workload identity, omit static credentials and annotate the dedicated backup ServiceAccount:

backup:
  enabled: true
  serviceAccount:
    annotations:
      eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/homarr-backup
  s3:
    endpoint: https://s3.amazonaws.com
    bucket: homarr-backups
    region: us-east-1
    credentialsFromPodIdentity: true

Values

KeyDefaultDescription
image.repositoryghcr.io/homarr-labs/homarrContainer image repository
image.tag"v2.14.0"Homarr image tag
replicaCount1Number of replicas
commonAnnotations{}Annotations applied to all chart-owned resources
homarr.logLevelinfoLog level
homarr.authProviderscredentialsAuth providers (credentials, ldap, oidc)
homarr.enableDnsCachingfalseEnable Homarr's internal DNS cache. Disabled by default for Kubernetes Service discovery stability
homarr.enableKubernetesfalseEnable K8s workload discovery
encryption.key""32-byte hex encryption key (auto-generated)
encryption.existingSecret""Existing secret with encryption key
database.modeautoDatabase mode: auto, sqlite, external, or postgresql
database.sqlite.path/appdata/db/db.sqliteSQLite file path
database.external.vendorpostgresExternal DB vendor
database.external.host""External DB host
database.external.existingSecret""Existing secret with external database password
postgresql.enabledfalseDeploy PostgreSQL subchart
postgresql.auth.databasehomarrPostgreSQL database name
postgresql.auth.usernamehomarrPostgreSQL username
postgresql.auth.existingSecret""Existing PostgreSQL Secret containing application and superuser passwords
postgresql.auth.existingSecretUserPasswordKeyuser-passwordApplication password key in the existing Secret
postgresql.initdb.scriptsHomarr grantsPostgreSQL bootstrap grants required for Homarr migrations
postgresqlUpgradeJob.enabledtrueRun a pre-upgrade hook that reapplies PostgreSQL grants on existing bundled PostgreSQL PVCs
postgresqlUpgradeJob.requireExistingResourcestrueRequire an existing bundled PostgreSQL Secret and Service before rendering the pre-upgrade hook
postgresql.standalone.persistence.enabledtrueEnable PostgreSQL persistence
redis.externalfalseUse external Redis
redis.host""External Redis host
redis.port6379External Redis port
persistence.enabledtrueEnable persistent storage
persistence.size1GiVolume size
service.typeClusterIPService type
service.port7575Service port
service.ipFamilyPolicynullService IP family policy
service.ipFamilies[]Ordered service IP families
ingress.enabledfalseEnable ingress
ingress.ingressClassName""Ingress class
gateway.enabledfalseEnable Gateway API HTTPRoute
gateway.parentRefs[]Parent Gateway references
gateway.hostnames[]HTTPRoute hostnames
externalSecrets.enabledfalseRender ExternalSecret for the Homarr encryption/auth Secret
externalSecrets.secretStoreRef.name""SecretStore or ClusterSecretStore name
backup.enabledfalseEnable S3 backup CronJob
backup.schedule"0 3 * * *"Backup cron schedule
backup.s3.endpoint""S3-compatible endpoint URL
backup.s3.bucket""S3 bucket name
backup.s3.region""AWS region for ambient workload identity
backup.s3.credentialsFromPodIdentityfalseUse ambient workload identity instead of static credentials
backup.serviceAccount.createtrueCreate a dedicated backup ServiceAccount
backup.serviceAccount.annotations{}Workload identity annotations for the backup ServiceAccount
backup.securityContext.capabilities.drop[ALL]Drop all Linux capabilities from backup containers
backup.sqliteSecurityContext.capabilities.add[DAC_READ_SEARCH]Read private Homarr files during SQLite backups

Database Auto-Detection

When database.mode is auto (default), the chart detects which database to use:

  1. If database.external.host is set -> external database
  2. If postgresql.enabled is true -> PostgreSQL subchart
  3. Otherwise -> SQLite3 (zero configuration)

Encryption Key

Homarr requires a SECRET_ENCRYPTION_KEY for encrypting integration secrets. The chart auto-generates one on first install if not provided. To set your own:

openssl rand -hex 32

Then pass it via encryption.key or an existing secret.

Gateway API

The chart can render a native Kubernetes Gateway API HTTPRoute alongside or instead of Ingress. Set gateway.enabled=true and reference an existing shared Gateway with gateway.parentRefs. Gateway API CRDs and a controller such as Envoy Gateway, Cilium, Istio, Traefik, or NGINX Gateway Fabric must be installed separately.

Dual-Stack Networking

The Service supports Kubernetes dual-stack networking through service.ipFamilyPolicy and service.ipFamilies. Defaults omit both fields so existing installs keep the cluster default behavior. Set service.ipFamilyPolicy=PreferDualStack for a portable dual-stack opt-in, or include explicit ipFamilies only on clusters that advertise those families.

External Secrets

Set externalSecrets.enabled=true with encryption.existingSecret to let External Secrets Operator populate Homarr's SECRET_ENCRYPTION_KEY and AUTH_SECRET. The externalSecrets.data entries must include secret-encryption-key (or the configured encryption.existingSecretKey) and auth-secret. The External Secrets Operator and SecretStore are managed outside this chart.

Security Defaults

The chart sets resource requests and limits, disables privilege escalation, applies the RuntimeDefault seccomp profile, and drops the default Linux capability set. The pinned Homarr image configures nginx during startup and requires only CHOWN, DAC_OVERRIDE, SETGID, and SETUID, which the chart adds explicitly. The root filesystem remains writable for the image's nginx startup contract. Override podSecurityContext and securityContext only after validating the pinned image.

Upgrade Notes

This update aligns the chart with the default v2.14.0 image. Review the upstream v2.14.0 release before upgrading production environments and back up /appdata plus any external database first. Homarr v2 no longer supports MySQL, so historical MySQL installations require the migration described below.

For PostgreSQL, the chart sets DB_DIALECT, DB_DRIVER, and discrete database environment variables instead of rendering a full DB_URL; this avoids requiring URL-encoded passwords in Kubernetes Secrets.

The chart sets ENABLE_DNS_CACHING=false by default. Homarr documents this setting for DNS/IP edge cases, and k3d validation showed it avoids transient database connection timeouts when Homarr resolves Kubernetes Services during startup. Set homarr.enableDnsCaching=true only when your cluster DNS behavior is known to be compatible with Homarr's internal cache.

For bundled PostgreSQL, the default postgresql.initdb.scripts grants the homarr user ownership and CREATE permission on the homarr database for fresh data directories. The postgresqlUpgradeJob pre-upgrade hook reapplies those grants before Homarr starts when an existing bundled PostgreSQL Secret and Service are present. Set postgresqlUpgradeJob.requireExistingResources=false only for controlled migrations where those bundled PostgreSQL resources are created before the upgrade hook runs. Existing external PostgreSQL databases must provide equivalent permissions before the first Homarr startup because Homarr creates the drizzle schema during migration.

When upgrading from older dependency layouts, move legacy postgresql.primary.* overrides to postgresql.standalone.*. The chart fails fast when that legacy block remains with the subchart enabled so persistence settings are not silently ignored.

Homarr v2.14.0 supports SQLite and PostgreSQL, but not MySQL. Before upgrading a release that used the removed mysql.* chart values or an external MySQL database, follow Homarr's official MySQL-to-SQLite conversion procedure. The converter produces SQLite data: deploy that converted SQLite database first and validate the application data before completing the chart upgrade. Switching the converted installation to PostgreSQL requires a separate, operator-controlled and validated data migration. The chart intentionally rejects the obsolete MySQL contract instead of rendering a deployment that the pinned application image cannot run.

The application listener is fixed by the official image at port 7575. service.port changes only the Kubernetes Service port; its named target still routes to the fixed container listener.

After changing database mode or credentials, verify the application pod and selected database backend:

kubectl get pods -l app.kubernetes.io/instance=<release> -n <namespace>
kubectl logs -l app.kubernetes.io/name=homarr -n <namespace> --all-containers --tail=100

Troubleshooting

  • If readiness fails, query /api/health/ready inside the Pod and inspect application logs for database migra

Deploy homarr with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has homarr 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 charthomarr is pinned at v2.1.2 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