nextcloud

by thelande

Helm chartv0.4.0App 31.0.6Verified publisher

Nextcloud server, a safe home for all your data

About this chart

nextcloud

Nextcloud server, a safe home for all your data

Homepage: https://nextcloud.com/

Source Code

Requirements

RepositoryNameVersion
https://collaboraonline.github.io/online/collabora-online1.1.36

Values

KeyTypeDefaultDescription
affinityobject{}
collabora-onlineobject{"autoscaling":{"enabled":false},"enabled":false,"ingress":{"enabled":false}}Configuration of the Collabora Online Development Edition (CODE) server
cron.envobject{}
cron.resourcesobject{}
cron.volumeMountslist[]
envobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"nextcloud"
image.tagstring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
livenessProbe.exec.command[0]string"bash"
livenessProbe.exec.command[1]string"-c"
livenessProbe.exec.command[2]string`"PHP_MEMORY_LIMIT=512M su -l www-data -w PHP_MEMORY_LIMIT \\n -s /usr/local/bin/php /var/www/html/occ statusgrep -q "installed: true"\n"`
livenessProbe.periodSecondsint60
livenessProbe.timeoutSecondsint10
nameOverridestring""
nextcloud.auth.existingSecretstring""Secret containing the admin username and password.
nextcloud.auth.passwordstring"nextcl0ud123"Password for the Nextcloud admin user. Ignored if existingSecret is set.
nextcloud.auth.usernamestring"admin"Name of the Nextcloud admin user. Ignored if existingSecret is set.
nextcloud.dataDirstring"/var/www/html/data"Configures the data directory where nextcloud stores all files from the users.
nextcloud.database.existingSecretstring""The existing secret containing the database connection details. Must have the following keys: host, username, password, and dbname.
nextcloud.database.typestring"postgres"The type of database to use. Either postgres or mysql. The database must created manually and is not handled by this chart.
nextcloud.overwriteProtocolstring""Optional overwrite of the protocol used (http or https).
nextcloud.php.memoryLimitstring""This sets the maximum amount of memory in bytes that a script is allowed to allocate. This is meant to help prevent poorly written scripts from eating up all available memory but it can prevent normal operation if set too tight.
nextcloud.php.uploadLimitstring""This sets the upload limit (post_max_size and upload_max_filesize) for big files. Note that you may have to change other limits depending on your client, webserver or operating system. Check the Nextcloud documentation⁠ for more information. The ingress proxy limit must also be increased when using an ingress to access nextcloud (e.g., nginx.ingress.kubernetes.io/proxy-body-size).
nextcloud.redis.enabledboolfalseShould redis caching be used.
nextcloud.redis.existingSecretstring""The existing secret containing the redis password.
nextcloud.redis.hoststring"redis"Hostname of the redis service to use.
nextcloud.redis.passwordstring""Redis password. Ignored if existingSecret is set.
nextcloud.redis.portint6379Optional port for Redis, only use for external Redis servers that run on non-standard ports.
nextcloud.smtp.authTypestring"LOGIN"
nextcloud.smtp.domainstring""Set a different domain for the emails than the domain where Nextcloud is installed.
nextcloud.smtp.enabledboolfalseEnable external SMTP access.
nextcloud.smtp.existingSecretstring""Existing secret containing the SMTP server username and password. Must have the following keys: username and password.
nextcloud.smtp.fromAddressstring""Set the local-part for the 'from' field in the emails sent by Nextcloud.
nextcloud.smtp.hoststring""The hostname of the SMTP server.
nextcloud.smtp.passwordstring""The password for the authentication. Ignored if existingSecret is set.
nextcloud.smtp.portint25Port for the SMTP connection. Use 465 for SSL or 587 for STARTTLS.
nextcloud.smtp.securestring""Set to ssl to use SSL, or tls to use STARTTLS.
nextcloud.smtp.usernamestring""The username for the authentication. Ignored if existingSecret is set.
nextcloud.trustedDomainslist[]Optional list of trusted domains.
nextcloud.trustedProxieslist[]Optional list of trusted proxies. Should contain the service CIDR(s) for your cluster.
nodeSelectorobject{}
persistence.accessModes[0]string"ReadWriteOnce"
persistence.enabledboolfalse
persistence.resources.requests.storagestring"5Gi"
persistence.storageClassNamestring""
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
readinessProbe.exec.command[0]string"bash"
readinessProbe.exec.command[1]string"-c"
readinessProbe.exec.command[2]string`"PHP_MEMORY_LIMIT=512M su -l www-data -w PHP_MEMORY_LIMIT \\n -s /usr/local/bin/php /var/www/html/occ statusgrep -q "installed: true"\n"`
readinessProbe.periodSecondsint60
readinessProbe.timeoutSecondsint10
replicaCountint1
resourcesobject{}
securityContextobject{}
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]
volumeMountslist[]
volumeslist[]

Deploy nextcloud with OpenTenant

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