homarr

by oben01

Helm chartv1.4.0App 0.16.0Verified publisher

A Helm chart to deploy homarr for Kubernetes

About this chart

Homarr

A Helm chart to deploy homarr for Kubernetes

Homepage: https://oben01.github.io/charts/charts/homarr/

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

📄 Requirements

Kubernetes: >=1.22.0-0

🍱 Dependencies

This chart has no dependencies.

🚀 Installing the Chart

To install the chart with the release name homarr

OCI (Recommended)

helm install homarr oci://ghcr.io/oben01/charts/homarr

Traditional

helm repo add oben01 https://oben01.github.io/charts/
helm repo update
helm install homarr oben01/homarr

➖ Uninstalling the Chart

To uninstall the homarr deployment

helm uninstall homarr

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

🔧 Configuration

Read through the values.yaml file. It has several commented out suggested values.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install homarr \
  --set env.TZ="America/New York" \
    oben01/homarr

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install homarr oben01/homarr -f values.yaml

🎨 Custom configuration

N/A

🗃 Values

KeyTypeDefaultDescription
affinityobject{}Node affinity for pod scheduling
autoscalingobject{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}Autoscaling configuration
autoscaling.enabledboolfalseEnable autoscaling
autoscaling.maxReplicasint100Maximum replicas
autoscaling.minReplicasint1Minimum replicas
autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization for autoscaling
env.AUTH_LDAP_ADMIN_GROUPstring"admin"Admin group
env.AUTH_LDAP_BASEstringnilBase dn of your LDAP server
env.AUTH_LDAP_BIND_DNstringnilUser used for finding users and groups
env.AUTH_LDAP_GROUP_CLASSstring"groupOfUniqueNames"Class used for querying groups
env.AUTH_LDAP_GROUP_MEMBER_ATTRIBUTEstring"member"Attribute used for querying group member
env.AUTH_LDAP_GROUP_MEMBER_USER_ATTRIBUTEstring"dn"User attribute used for comparing with group member
env.AUTH_LDAP_OWNER_GROUPstring"admin"Owner group
env.AUTH_LDAP_SEARCH_SCOPEstring"base"LDAP search scope between base, one or sub
env.AUTH_LDAP_URIstringnilURI of your LDAP server
env.AUTH_LDAP_USERNAME_ATTRIBUTEstring"uid"Attribute used for username
env.AUTH_OIDC_ADMIN_GROUPstring"admin"Admin group
env.AUTH_OIDC_CLIENT_NAMEstring"OIDC"Display name of provider (in login screen)
env.AUTH_OIDC_OWNER_GROUPstring"admin"Owner group
env.AUTH_OIDC_SCOPE_OVERWRITEstring"openid email profile groups"Override the OIDC scopes
env.AUTH_OIDC_URIstringnilURI of OIDC provider
env.AUTH_PROVIDERstring"credentials"Enabled authentication methods. Multiple providers can be enabled with by separating them with , (ex. AUTH_PROVIDER=credentials,oidc, it is highly recommended to just enable one provider).
env.DATABASE_URLstring"file:/app/database/db.sqlite"URL for the Homarr database
env.DEFAULT_COLOR_SCHEMEstring"dark"Colors and preferences, possible values dark / light
env.TZstring"Europe/Paris"Your local time zone
envSecrets.AUTH_LDAP_BIND_PASSWORDobject{"key":null,"name":null}Password for bind user
envSecrets.AUTH_OIDC_CLIENT_IDobject{"key":null,"name":null}ID of OIDC client (application)
envSecrets.AUTH_OIDC_CLIENT_SECRETobject{"key":null,"name":null}Secret of OIDC client (application)
fullnameOverridestring""Overrides chart's fullname
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"ghcr.io/ajnart/homarr"Image repository
image.tagstring"0.16.0"Overrides the image tag whose default is the chart appVersion
imagePullSecretslist[]Secrets for Docker registry
ingressobject{"annotations":{},"enabled":true,"hosts":[{"host":"chart-example.local","paths":[{"path":"/"}]}],"ingressClassName":"","tls":[]}Ingress configuration
ingress.annotationsobject{}Ingress annotations
ingress.enabledbooltrueEnable ingress
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/"}]}]Ingress hosts configuration
ingress.ingressClassNamestring""Ingress class name
ingress.tlslist[]Ingress TLS configuration
livenessProbe.failureThresholdint5The number of consecutive failed liveness probe attempts before the container is considered unhealthy.
livenessProbe.httpGet.pathstring"/"This is the liveness check endpoint used by Kubernetes to determine if the application is still running.
livenessProbe.httpGet.portint7575The port on which the liveness check will be performed. This must be the same as the container port exposed by the application.
livenessProbe.initialDelaySecondsint10Number of seconds after the container has started before startup
livenessProbe.periodSecondsint10How often (in seconds) to perform the liveness probe.
livenessProbe.timeoutSecondsint3Number of seconds after which the probe times out
nameOverridestring""Overrides chart's name
nodeSelectorobject{}Node selectors for pod scheduling
persistencelist[{"accessMode":"ReadWriteOnce","enabled":false,"mountPath":"/app/data/configs","name":"homarr-config","size":"50Mi","storageClassName":"local-path"},{"accessMode":"ReadWriteOnce","enabled":false,"mountPath":"/app/database","name":"homarr-database","size":"50Mi","storageClassName":"local-path"},{"accessMode":"ReadWriteOnce","enabled":false,"mountPath":"/app/public/icons","name":"homarr-icons","size":"50Mi","storageClassName":"local-path"}]Persistent storage configuration
persistence[0].accessModestring"ReadWriteOnce"homarr-config access mode
persistence[0].enabledboolfalseEnable homarr-config persistent storage
persistence[0].mountPathstring"/app/data/configs"homarr-config mount path inside the pod
persistence[0].sizestring"50Mi"homarr-config storage size
persistence[0].storageClassNamestring"local-path"homarr-config storage class name
persistence[1].accessModestring"ReadWriteOnce"homarr-database access mode
persistence[1].enabledboolfalseEnable homarr-database persistent storage
persistence[1].mountPathstring"/app/database"homarr-database mount path inside the pod
persistence[1].sizestring"50Mi"homarr-database storage size
persistence[1].storageClassNamestring"local-path"homarr-database storage class name
persistence[2].accessModestring"ReadWriteOnce"homarr-icons access mode
persistence[2].enabledboolfalseEnable homarr-icons persistent storage
persistence[2].mountPathstring"/app/public/icons"homarr-icons mount path inside the pod
persistence[2].sizestring"50Mi"homarr-icons storage size
persistence[2].storageClassNamestring"local-path"homarr-icons storage class name
podAnnotationsobject{}Pod annotations
podLabelsobject{}Pod labels
podSecurityContextobject{}Pod security context
readinessProbe.failureThresholdint5The number of consecutive failed readiness probe attempts before the container is considered "Not Ready."
readinessProbe.httpGet.pathstring"/"This is the readiness check endpoint used by Kubernetes to determine if the application is ready to handle traffic.
readinessProbe.httpGet.portint7575The port on which the readiness check will be performed. This must match the container's exposed port.
readinessProbe.initialDelaySecondsint10Number of seconds after the container has started before startup
readinessProbe.periodSecondsint10How often (in seconds) to perform the readiness probe.
readinessProbe.timeoutSecondsint3Number of seconds after which the probe times out
replicaCountint1Number of replicas
resourcesobject{}Resource configuration
securityContextobject{}Security context
serviceobject{"port":7575,"targetPort":7575,"type":"ClusterIP"}Service configuration
service.portint7575Service port
service.targetPortint7575Service target port
service.typestring"ClusterIP"Service type
tolerationslist[]Node tolerations for pod scheduling

Autogenerated from chart metadata using helm-docs

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 v1.4.0 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