plausible
Helm chartv1.1.3App v3.2.2Verified publisher
Plausible Analytics
About this chart
plausible
Plausible Analytics
Plausible Analytics is an easy to use, lightweight (< 1 KB), open source and privacy-friendly alternative to Google Analytics. It doesnt use cookies and is fully compliant with GDPR, CCPA and PECR.
Homepage: https://plausible.io/
Maintainers
| Name | Url | |
|---|---|---|
| sergelogvinov | https://github.com/sergelogvinov |
Source Code
- https://github.com/sergelogvinov/helm-charts/tree/main/charts/plausible
- https://github.com/plausible/analytics
# Helm values
config:
# openssl rand -base64 48, it creates automatically if not set
secretKeyBase: ""
# openssl rand -base64 32, it creates automatically if not set
totpVaultKey: ""
envs:
# The database URL for the PostgreSQL/Clickhouse database.
DATABASE_URL: "postgres://plausible:plausible@plausible-pg/plausible"
CLICKHOUSE_DATABASE_URL: "http://clickhouse:[email protected]:8123/plausible"
#
DISABLE_REGISTRATION: invite_only
ENABLE_EMAIL_VERIFICATION: "false"
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | |
| image.repository | string | "ghcr.io/plausible/community-edition" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| config.secretKeyBase | string | "" | |
| config.totpVaultKey | string | "" | |
| envs.DATABASE_URL | string | "postgres://plausible:plausible@plausible-pg/plausible" | |
| envs.CLICKHOUSE_DATABASE_URL | string | "http://plausible:[email protected]:8123/plausible" | |
| envs.DISABLE_REGISTRATION | string | "invite_only" | |
| envs.ENABLE_EMAIL_VERIFICATION | string | "false" | |
| serviceAccount | object | {"annotations":{},"automount":true,"create":true,"name":""} | Pods Service Account. ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ |
| podAnnotations | object | {} | Annotations for pod. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| podLabels | object | {} | Extra labels for pod. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| podSecurityContext | object | {"fsGroup":999,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":9999,"runAsNonRoot":true,"runAsUser":9999} | Pod Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod |
| securityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"seccompProfile":{"type":"RuntimeDefault"}} | Container Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod |
| service | object | {"annotations":{},"ipFamilies":["IPv4"],"port":80,"type":"ClusterIP"} | Service parameters ref: https://kubernetes.io/docs/user-guide/services/ |
| service.type | string | "ClusterIP" | service type |
| service.port | int | 80 | service port |
| ingress | object | {"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]} | Plausible ingress parameters ref: http://kubernetes.io/docs/user-guide/ingress/ |
| resources | object | {"requests":{"cpu":"100m","memory":"128Mi"}} | Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/ |
| autoscaling | object | {"controlledResources":["cpu","memory"],"controlledValues":"RequestsOnly","enabled":false,"maxAllowed":{},"minAllowed":{},"updatePolicy":{"updateMode":"InPlaceOrRecreate"}} | Vertical pod autoscaler |
| autoscaling.controlledResources | list | ["cpu","memory"] | Resource to control Possible values are "cpu" and "memory" |
| autoscaling.controlledValues | string | "RequestsOnly" | Controls which resource value should be autoscaled Possible values are "RequestsAndLimits" and "RequestsOnly" |
| autoscaling.maxAllowed | object | {} | Max allowed resources for the pod default is resources.limits |
| autoscaling.minAllowed | object | {} | Min allowed resources for the pod default is resources.requests |
| autoscaling.updatePolicy | object | {"updateMode":"InPlaceOrRecreate"} | Update policy Possible values are "Off", "Initial", "Recreate", "InPlaceOrRecreate" and "Auto" |
| updateStrategy.type | string | "RollingUpdate" | |
| updateStrategy.rollingUpdate.maxUnavailable | int | 1 | |
| volumes | list | [] | Additional volumes on the output Deployment definition. |
| volumeMounts | list | [] | Additional volumeMounts on the output Deployment definition. |
| nodeSelector | object | {} | Node labels for pod assignment. ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| tolerations | list | [] | Tolerations for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| podAntiAffinityPreset | string | "soft" | Pod Anti Affinity soft/hard |
| affinity | object | {} | Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
Deploy plausible with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has plausible 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartplausible is pinned at v1.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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