homarr
by HelmForge
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
tarfor SQLite orpg_dumpfor 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
ipFamilyPolicyandipFamilies - 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
| Key | Default | Description |
|---|---|---|
image.repository | ghcr.io/homarr-labs/homarr | Container image repository |
image.tag | "v2.14.0" | Homarr image tag |
replicaCount | 1 | Number of replicas |
commonAnnotations | {} | Annotations applied to all chart-owned resources |
homarr.logLevel | info | Log level |
homarr.authProviders | credentials | Auth providers (credentials, ldap, oidc) |
homarr.enableDnsCaching | false | Enable Homarr's internal DNS cache. Disabled by default for Kubernetes Service discovery stability |
homarr.enableKubernetes | false | Enable K8s workload discovery |
encryption.key | "" | 32-byte hex encryption key (auto-generated) |
encryption.existingSecret | "" | Existing secret with encryption key |
database.mode | auto | Database mode: auto, sqlite, external, or postgresql |
database.sqlite.path | /appdata/db/db.sqlite | SQLite file path |
database.external.vendor | postgres | External DB vendor |
database.external.host | "" | External DB host |
database.external.existingSecret | "" | Existing secret with external database password |
postgresql.enabled | false | Deploy PostgreSQL subchart |
postgresql.auth.database | homarr | PostgreSQL database name |
postgresql.auth.username | homarr | PostgreSQL username |
postgresql.auth.existingSecret | "" | Existing PostgreSQL Secret containing application and superuser passwords |
postgresql.auth.existingSecretUserPasswordKey | user-password | Application password key in the existing Secret |
postgresql.initdb.scripts | Homarr grants | PostgreSQL bootstrap grants required for Homarr migrations |
postgresqlUpgradeJob.enabled | true | Run a pre-upgrade hook that reapplies PostgreSQL grants on existing bundled PostgreSQL PVCs |
postgresqlUpgradeJob.requireExistingResources | true | Require an existing bundled PostgreSQL Secret and Service before rendering the pre-upgrade hook |
postgresql.standalone.persistence.enabled | true | Enable PostgreSQL persistence |
redis.external | false | Use external Redis |
redis.host | "" | External Redis host |
redis.port | 6379 | External Redis port |
persistence.enabled | true | Enable persistent storage |
persistence.size | 1Gi | Volume size |
service.type | ClusterIP | Service type |
service.port | 7575 | Service port |
service.ipFamilyPolicy | null | Service IP family policy |
service.ipFamilies | [] | Ordered service IP families |
ingress.enabled | false | Enable ingress |
ingress.ingressClassName | "" | Ingress class |
gateway.enabled | false | Enable Gateway API HTTPRoute |
gateway.parentRefs | [] | Parent Gateway references |
gateway.hostnames | [] | HTTPRoute hostnames |
externalSecrets.enabled | false | Render ExternalSecret for the Homarr encryption/auth Secret |
externalSecrets.secretStoreRef.name | "" | SecretStore or ClusterSecretStore name |
backup.enabled | false | Enable 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.credentialsFromPodIdentity | false | Use ambient workload identity instead of static credentials |
backup.serviceAccount.create | true | Create 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:
- If
database.external.hostis set -> external database - If
postgresql.enabledistrue-> PostgreSQL subchart - 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/readyinside 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charthomarr is pinned at v2.1.2 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