docmost

by acidsugarx

Helm chartv0.1.3App 0.23.2Verified publisher

Builtin Helm chart for the "Docmost": is an open-source collaborative wiki and documentation software.

About this chart

docmost

Docmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to Confluence and Notion.

Homepage: https://docmost.com/

Source Code

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+

Install

To install the chart with the release name docmost:

# Add the repo
helm repo add docmost https://github.com/docmost/charts

# Install the chart
helm install docmost docmost/docmost

Configuration

The following table lists the configurable parameters of the docmost chart and their default values.

Docmost Configuration

KeyTypeDefaultDescription
replicaCountint1Number of docmost replicas
image.repositorystring"docmost/docmost"Docmost image repository
image.pullPolicystring"IfNotPresent"Docmost image pull policy
image.tagstring""Docmost image tag (defaults to chart appVersion)
imagePullSecretslist[]Image pull secrets
nameOverridestring""String to partially override docmost.fullname template
fullnameOverridestring""String to fully override docmost.fullname template
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.namestring""The name of the service account to use
podAnnotationsobject{}Annotations for docmost pods
podLabelsobject{}Labels for docmost pods
podSecurityContextobject{}Pod security context
securityContextobject{}Container security context
service.typestring"ClusterIP"Service type
service.portint3000Service port
ingress.enabledboolfalseEnable ingress
ingress.classNamestring""Ingress class name
ingress.annotationsobject{}Ingress annotations
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress hosts configuration
ingress.tlslist[]Ingress TLS configuration
resourcesobject{}Resource limits and requests
livenessProbeobject{"httpGet":{"path":"/","port":"http"}}Liveness probe configuration
readinessProbeobject{"httpGet":{"path":"/","port":"http"}}Readiness probe configuration
nodeSelectorobject{}Node selector configuration
tolerationslist[]Tolerations configuration
affinityobject{}Affinity configuration
persistence.enabledboolfalseEnable persistence
persistence.existingClaimstring""Use existing persistent volume claim
persistence.storageClassNamestring""Storage class name
persistence.accessModeslist["ReadWriteOnce"]Access modes
persistence.resourcesobject{"requests":{"storage":"5Gi"}}Resource requests
volumeslist[]Additional volumes
volumeMountslist[]Additional volume mounts
docmost.appUrlstring""docmost externally accessible URL
docmost.drawIO.urlstring""Custom draw.io server url
docmost.smtp.enabledboolfalseShould SMTP be enabled?
docmost.smtp.hoststring""The SMTP server to use for sending emails
docmost.smtp.portint587The port to use for the SMTP server
docmost.smtp.secureboolfalseUse TLS when connecting to the server, typically for port 465
docmost.smtp.mailFrom.addressstring""The email address from which emails will be sent
docmost.smtp.mailFrom.namestring"Docmost"The name associated with the email address from which emails will be sent
docmost.smtp.auth.usernamestring""The username for the SMTP server
docmost.smtp.auth.passwordstring""The password for the SMTP server
docmost.smtp.auth.existingSecretstring""An existing secret containing the SMTP server username and password

PostgreSQL Configuration

KeyTypeDefaultDescription
postgresql.image.repositorystring"postgres"PostgreSQL image repository
postgresql.image.tagstring"18.0-alpine"PostgreSQL image tag
postgresql.image.pullPolicystring"IfNotPresent"PostgreSQL image pull policy
postgresql.imagePullSecretslist[]PostgreSQL image pull secrets
postgresql.auth.databasestring"docmost"PostgreSQL database name
postgresql.auth.usernamestring"docmost"PostgreSQL database username
postgresql.auth.passwordstring"docmost2025!"PostgreSQL database password
postgresql.resourcesobject{}PostgreSQL resource limits and requests
postgresql.persistence.enabledbooltrueEnable PostgreSQL persistence
postgresql.persistence.existingClaimstring""Use existing persistent volume claim
postgresql.persistence.storageClassNamestring""PostgreSQL storage class name
postgresql.persistence.accessModeslist["ReadWriteOnce"]PostgreSQL access modes
postgresql.persistence.resourcesobject{"requests":{"storage":"8Gi"}}PostgreSQL resource requests

Redis Configuration

KeyTypeDefaultDescription
redis.image.repositorystring"redis"Redis image repository
redis.image.tagstring"8.2.3-alpine"Redis image tag
redis.image.pullPolicystring"IfNotPresent"Redis image pull policy
redis.imagePullSecretslist[]Redis image pull secrets
redis.resourcesobject{}Redis resource limits and requests
redis.persistence.enabledboolfalseEnable Redis persistence
redis.persistence.existingClaimstring""Use existing persistent volume claim
redis.persistence.storageClassNamestring""Redis storage class name
redis.persistence.accessModeslist["ReadWriteOnce"]Redis access modes
redis.persistence.resourcesobject{"requests":{"storage":"2Gi"}}Redis resource requests

Usage

Basic Installation

# Basic installation with default settings
helm repo add homelab-charts https://acidsugarx.github.io/helm-open

# Quick installation
helm install --namespace docmost --create-namespace docmost homelab-charts/docmost --set docmost.appUrl=app.example.com

# Installation with custom values
helm show values homelab-charts/docmost > values.yaml
# Edit and apply installation
helm install --namespace docmost --create-namespace docmost homelab-charts/docmost -f values.yaml

PostgreSQL Configuration

This chart includes a PostgreSQL deployment for the docmost database. The PostgreSQL deployment includes:

  • A PostgreSQL container using the official PostgreSQL image
  • Persistent storage for data persistence
  • Configurable database credentials
  • Resource limits and requests

By default, PostgreSQL is configured with:

  • Database name: docmost
  • Username: docmost
  • Password: docmost2025! (recommended to change in production)

Redis Configuration

This chart includes a Redis deployment for caching and session storage. The Redis deployment includes:

  • A Redis container using the official Redis image
  • Persistent storage for data persistence
  • Configurable resources
  • Resource limits and requests

Persistence

Persistence is enabled by default for both docmost application data and the database. Make sure you have a storage class available in your Kubernetes cluster.

Ingress Configuration

The chart supports ingress configuration. To enable ingress:

ingress:
  enabled: true
  className: "nginx"
  hosts:
    - host: docmost.example.com
      paths:
        - path: /
          pathType: ImplementationSpecific
  tls:
   - secretName: docmost-tls
     hosts:
       - docmost.example.com

SMTP Configuration

To enable SMTP for email notifications:

docmost:
  smtp:
    enabled: true
    host: "smtp.example.com"
    port: 587
    secure: false
    mailFrom:
      address: "[email protected]"
      name: "Docmost"
    auth:
      username: "your-smtp-username"
      password: "your-smtp-password"

Uninstall

To uninstall the chart:

helm uninstall --namespace docmost docmost

Contributing

We welcome contributions to this Helm chart. Please see the GitHub repository for more information.


Part of the Homelab Helm Charts collection.

Deploy docmost with OpenTenant

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