Helm chartv0.14.4App 18.7Verified publisher

Postgres is an object-relational database system that provides reliability and data integrity.

About this chart

Postgres

Postgres is an object-relational database system that provides reliability and data integrity.

This is meant to be a basic deployment of a single Postgres instance for small projects or services that do not require an entire Postgres cluster.

Install

helm repo add self-hosters-by-night https://self-hosters-by-night.github.io/helm-charts
helm repo update self-hosters-by-night
helm install postgres self-hosters-by-night/postgres

Notes

  • env.vars values and ConfigMap/Secret references in env.fromConfigMap, env.fromSecret, and envFrom accept Helm templating (e.g., {{ .Release.Name }}-postgres).

Deploy postgres with OpenTenant

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