mayan-edms

by Helm

Helm chartv0.1.0App 3.4.4

Mayan EDMS is a Free Open Source Electronic Document Management System, coded in the Python language using the Django web application framework and released under the Apache 2.0 License. It provides an electronic vault or repository for electronic documents.

About this chart

Mayan EDMS

This is a helm chart for Mayan EDMS.

TL;DR:

helm repo add cronce https://charts.cronce.io/
helm install cronce/mayan-edms

Installing the Chart

To install the chart with the release name my-release:

helm install --name my-release cronce/mayan-edms

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release --purge

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

Configuration

The following tables lists the configurable parameters of the Mayan EDMS chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repositorymayanedms/mayanedms
image.tagImage tag. Possible values listed here.3.4.4
image.pullPolicyImage pull policyIfNotPresent
service.typeKubernetes service type for the Mayan EDMS UI/APIClusterIP
service.clusterIPClusterIP for Mayan EDMS service; the default (empty string) will cause it to be auto-assigned""
service.portKubernetes port where Mayan EDMS is exposed80
service.annotationsService annotations for Mayan EDMS{}
service.labelsCustom labels{}
service.loadBalancerIPLoad balancer IP for Mayan EDMS{}
service.loadBalancerSourceRangesList of IP CIDRs allowed access to load balancer (if supported)[]
service.externalIPsList of external IP addreses at which the service is available[]
ingress.enabledEnables Ingressfalse
ingress.classIngress classNone
ingress.annotationsIngress annotations{}
ingress.labelsCustom labels{}
ingress.pathIngress path/
ingress.hostsIngress accepted hostnamesmayan-edms
ingress.tlsIngress TLS configuration[]
persistence.config.enabledUse persistent volume to store configtrue
persistence.config.sizeSize of persistent volume claim8Gi
persistence.config.existingClaimUse an existing PVC to persist confignil
persistence.config.storageClassType of persistent volume claim-
persistence.config.accessModesPersistence access modes[]
resourcesCPU/Memory resource requests/limits{}
nodeSelectorNode labels for pod assignment{}
tolerationsToleration labels for pod assignment[]
affinityAffinity settings for pod assignment{}

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

helm install --name my-release \
  --set ingress.enabled="true" \
    cronce/mayan-edms

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

helm install --name my-release -f values.yaml mayan-edms

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

TODO:

  • Option to deploy Postgres as a subchart
  • Option to switch RabbitMQ in as a broker instead of Redis
  • Different deployments for different components, rather than the omnibus container
  • Finish documentating values above

Deploy mayan-edms with OpenTenant

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