Plausible configuration reference¶
This page lists the configuration surface of the Plausible deployment in dp-infra/plausible/.
config.yaml¶
Key |
Value |
Notes |
|---|---|---|
|
|
Target namespace |
|
|
All hosts served by the ingress; one TLS certificate covers all entries |
|
|
Sets |
|
|
Image tag of |
|
|
Image tag of |
|
|
CNPG image major ( |
|
|
Mailjet SMTP relay |
|
|
STARTTLS |
|
|
Sender; the domain is Mailjet-validated |
|
|
Storage class for all PVCs |
|
|
Per-instance CNPG PVC size |
|
|
ClickHouse PVC size |
|
|
CNPG instances |
|
|
Crossplane-managed bucket, ProviderConfig |
App environment¶
The app deployment combines a ConfigMap (plausible-env) with secret-backed variables.
Variable |
Source |
Notes |
|---|---|---|
|
ConfigMap |
|
|
ConfigMap |
|
|
ConfigMap |
|
|
ConfigMap |
|
|
ConfigMap |
|
|
ConfigMap |
Mailjet relay settings |
|
Secret |
CNPG-generated; the |
|
Secret |
ESO-templated from |
|
Secret |
Carried over from the groot instance; never rotate casually |
|
Secret |
Encrypts 2FA secrets at rest; never rotate casually |
|
Secret |
GeoLite2 download license |
|
Secret |
Mailjet credentials |
Source secrets¶
ESO bridges these secrets from the application-secrets namespace into the plausible namespace.
plausible-app-secretsKeys:
SECRET_KEY_BASE,TOTP_VAULT_KEY,MAXMIND_LICENSE_KEY,CLICKHOUSE_PASSWORD. The ExternalSecret additionally templatesCLICKHOUSE_DATABASE_URLfromCLICKHOUSE_PASSWORD.plausible-smtp-secretsKeys:
SMTP_USERNAME,SMTP_PASSWORD(Mailjet, shared account with bugsink).
ClickHouse system log configuration¶
The ConfigMap plausible-clickhouse-config mounts two files into the ClickHouse container.
config.d/logging.xmlDisables
metric_log,asynchronous_metric_log,query_thread_log,text_log,trace_log,session_log, andpart_log. Recreatesquery_logwith a 30-day TTL (ttl_only_drop_parts=1). Setsmark_cache_sizeto 500 MB.users.d/user-logging.xmlDisables query thread logging and applies the upstream low-resources profile (
max_threads=1,max_block_size=8192).
Important
Without this configuration ClickHouse system logs grow unbounded. On the legacy host they reached 53 GiB while the actual analytics data was 60 MiB.
Backups¶
Data |
Mechanism |
Schedule |
Retention |
|---|---|---|---|
PostgreSQL |
CNPG barman-cloud plugin to S3 ( |
Daily 02:30 plus continuous WAL |
30 days |
ClickHouse |
Longhorn recurring backup group |
Daily 03:00 |
7 backups |
The ClickHouse backup is crash-consistent, not application-consistent. This is a deliberate risk acceptance for statistics data.