phpbb

by joaquinito2051

Helm chartv12.3.5App 3.3.8

phpBB is a popular bulletin board that features robust messaging capabilities such as flat message structure, subforums, topic split/merge/lock, user groups, full-text search, and attachments.

About this chart

phpBB packaged by Bitnami

phpBB is a popular bulletin board that features robust messaging capabilities such as flat message structure, subforums, topic split/merge/lock, user groups, full-text search, and attachments.

Overview of phpBB

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/phpbb

Introduction

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

It also packages the Bitnami MariaDB chart which is required for bootstrapping a MariaDB deployment for the database requirements of the phpBB application.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure
  • ReadWriteMany volumes for deployment scaling

Installing the Chart

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

$ helm install my-release bitnami-azure/phpbb

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

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

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

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
namespaceOverrideString to fully override common.names.namespace""
commonAnnotationsCommon annotations to add to all phpBB resources (sub-charts are not considered). Evaluated as a template{}
commonLabelsCommon labels to add to all phpBB resources (sub-charts are not considered). Evaluated as a template{}
extraDeployArray of extra objects to deploy with the release (evaluated as a template)[]

phpBB parameters

NameDescriptionValue
image.registryphpBB image registrydocker.io
image.repositoryphpBB image repositorybitnami/phpbb
image.tagphpBB image tag (immutable tags are recommended)3.3.8-debian-11-r26
image.digestphpBB image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyphpBB image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugSpecify if debug logs should be enabledfalse
replicaCountNumber of replicas (requires ReadWriteMany PVC support)1
phpbbSkipInstallSkip phpBB installation wizard. Useful for migrations and restoring from SQL dumpno
phpbbDisableSessionValidationDisable session validationyes
phpbbUsernameUser of the applicationuser
phpbbPasswordApplication password""
phpbbEmailAdmin email[email protected]
allowEmptyPasswordAllow DB blank passwordsno
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
hostAliasesAdd deployment host aliases[]
updateStrategy.typeUpdate strategy - only really applicable for deployments with RWO PVs attachedRollingUpdate
extraEnvVarsAn array to add extra env vars[]
extraEnvVarsCMConfigMap with extra environment variables""
extraEnvVarsSecretSecret with extra environment variables""
extraVolumesExtra volumes to add to the deployment. Requires setting extraVolumeMounts[]
extraVolumeMountsExtra volume mounts to add to the container. Normally used with extraVolumes[]
initContainersExtra init containers to add to the deployment[]
sidecarsExtra sidecar containers to add to the deployment[]
tolerationsTolerations for pod assignment[]
existingSecretUse existing secret for the application password""
volumePermissions.enabledEnable init container that changes volume permissions in the data directory (for cases where the default k8s runAsUser and fsUser values do not work)false
volumePermissions.image.registryInit container volume-permissions image registrydocker.io
volumePermissions.image.repositoryInit container volume-permissions image repositorybitnami/bitnami-shell
volumePermissions.image.tagInit container volume-permissions image tag (immutable tags are recommended)11-debian-11-r34
volumePermissions.image.digestInit container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
volumePermissions.image.pullPolicyInit container volume-permissions image pull policyIfNotPresent
volumePermissions.image.pullSecretsSpecify docker-registry secret names as an array[]
volumePermissions.resources.limitsThe resources limits for the container{}
volumePermissions.resources.requestsThe requested resources for the container{}
smtpHostSMTP host""
smtpPortSMTP port""
smtpUserSMTP user""
smtpPasswordSMTP password""
smtpProtocolSMTP Protocol (options: ssl,tls, nil)""
containerPortsContainer ports

Deploy phpbb with OpenTenant

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