From 10d1137204ab123ced931d3d87937ff4168ab3b5 Mon Sep 17 00:00:00 2001 From: woody_lin Date: Wed, 7 Jan 2026 23:52:33 +0800 Subject: [PATCH] docs: enhance PostgreSQL demo guide with external connection and storage configuration details --- src/content/docs/demos/05-postgres.mdx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/content/docs/demos/05-postgres.mdx b/src/content/docs/demos/05-postgres.mdx index d140fc9..e3b3f10 100644 --- a/src/content/docs/demos/05-postgres.mdx +++ b/src/content/docs/demos/05-postgres.mdx @@ -45,13 +45,23 @@ We'll be using the PostgreSQL Helm chart from [Bitnami Charts](https://artifacth 3. After uploading, navigate to the `Applications Store` to deploy the Helm chart. - **To allow external connections**, configure the service as NodePort in the deployment settings: + **To allow external connections and configure storage**, adjust the deployment settings: ```yaml service: type: NodePort port: 5432 nodePort: 30432 # Port range: 30000-32767 + primary: + persistence: + size: 10Gi # PVC Storage Request for PostgreSQL volume (e.g., 10Gi, 20Gi, 100Gi) ``` + + **Configuration Details**: + - **service.type**: Set to `NodePort` to allow external connections + - **service.port**: PostgreSQL service port (default: 5432) + - **service.nodePort**: External port accessible from outside the cluster + - **primary.persistence.size**: Storage size for the PostgreSQL data volume (adjust based on your needs) + After deployment, you can connect externally using `:`. 4. Retrieve the PostgreSQL password from `Applications Secrets`: