Self-host in Kubernetes: cannot connect to postgres #3542
-
Hello. I'm trying to deploy plausible in kubernetes. I have created clickhouse and postgres databases and ensured they accessible from inside the cluster. I'm using this chart to deploy plausible: https://artifacthub.io/packages/helm/imio/plausible-analytics In values.yaml I disabled db deployment from chart, because I already have them deployed, and just set connection strings:
I installed chart but keep getting postgres connection errors:
Plausible seems to be connecting to database named |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 48 replies
-
Note that
|
Beta Was this translation helpful? Give feedback.
-
Is there a way to point plausible to custom CA cert for clickhouse connection? I have .crt file on disk inside image. For example this is how it is done in java:
|
Beta Was this translation helpful? Give feedback.
If you decide to mount a custom
runtime.exs
, I think this patch is all that's needed wrt to[email protected]