mindoc

by ygqygq2

Helm chartv2.0.0App 2.0Verified publisher

Mindoc是一款针对IT团队开发的简单好用的文档管理系统。

About this chart

mindoc - 一款针对IT团队开发的简单好用的文档管理系统。

Mindoc 是一款针对IT团队开发的简单好用的文档管理系统。MinDoc 的前身是 SmartWiki 文档系统。SmartWiki 是基于 PHP 框架 laravel 开发的一款文档管理系统。因 PHP 的部署对普通用户来说太复杂,所以改用 Golang 开发。可以方便用户部署和实用。

Introduction

This chart bootstraps mindoc deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.6+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

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

$ helm install my-release mindoc

The command deploys mindoc cluster on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

tip: The default user is: admin The default password is: 123456

Uninstall

To uninstall/delete the my-release deployment:

$ helm delete my-release

Configuration

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

ParameterDescriptionDefault
statefulset.enabledUse statefulset to startfalse
deploymentStrategyDeployment rollingUpdate setting{}
replicaCountReplicas number1
serviceService type, protocol, portClusterIP TCP 8181
envContainer env setting[]
startCommandStart command[]
configAdditional configmap to usesee in values.yaml
secretAdditional secret to usesee in values.yaml
imagemindoc image, tag.ygqygq2/mindoc latest
ingressIngress for the mindoc.false
mongodbYapi database to store data.see in values.yaml
persistentVolume.enabledCreate a volume to store datafalse
persistentVolume.storageClassType of persistent volume claimnil
persistentVolume.accessModesPersistent volume access modes[ReadWriteOnce]
persistentVolume.sizePersistent volume access modes2Gi
persistentVolume.existingClaimPersistent volume existingClaim name{}
persistentVolume.mountPathsPersistent directory pathsee in values.yaml
persistentVolume.annotationsPersistent volume annotations{}
healthCheck.enabledLiveness and readiness probestrue, detail see in values.yaml
resourcesCPU/Memory resource requests/limits{}
deploymentDeployment annotations initContainers{}
extraContainersSidecar containers{}

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

Persistence

The mindoc image stores the data and configurations at the /mindoc/uploads /mindoc/database path of the container.

Deploy mindoc with OpenTenant

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