Simple Plausible Analytics on Kubernetes18 Apr 2021 / Mihai Nueleanu
Here's a simple, self-hosted configuration for Plausible Analytics, meant for deploying to Kubernetes.
Note: All the code and instructions have been uploaded to github: https://github.com/dotmethodme/plausible-kubernetes
- Go to https://github.com/dotmethodme/plausible-kubernetes and clone the repository. All yaml files are inside the folder named
postgress.yaml. Edit the
POSTGRES_PASSWORDfield and set a randomly generated password for the postgres database
ingress.yaml. Insert your chosen domain name into the host fields
secret.yaml. Configure the marked fields.
- Apply the configuration with
kubectl apply -f ./base