From abc91a6843ea0f4807644694625efbc75269d2f5 Mon Sep 17 00:00:00 2001 From: Marcus Crane Date: Tue, 1 Mar 2022 09:13:12 +1300 Subject: [PATCH] Update Postgres tutorial SSL block to match Postgres app config template Signed-off-by: Marcus Crane --- docs/tutorials/switching-sqlite-postgres.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/switching-sqlite-postgres.md b/docs/tutorials/switching-sqlite-postgres.md index fafd2ad586..8a7f90b21f 100644 --- a/docs/tutorials/switching-sqlite-postgres.md +++ b/docs/tutorials/switching-sqlite-postgres.md @@ -43,9 +43,11 @@ backend: + user: ${POSTGRES_USER} + password: ${POSTGRES_PASSWORD} + # https://node-postgres.com/features/ssl -+ #ssl: require # see https://www.postgresql.org/docs/current/libpq-ssl.html Table 33.1. SSL Mode Descriptions (e.g. require) -+ #ca: # if you have a CA file and want to verify it you can uncomment this section -+ #$file: /ca/server.crt ++ # you can set the sslmode configuration option via the `PGSSLMODE` environment variable ++ # see https://www.postgresql.org/docs/current/libpq-ssl.html Table 33.1. SSL Mode Descriptions (e.g. require) ++ # ssl: ++ # ca: # if you have a CA file and want to verify it you can uncomment this section ++ # $file: /ca/server.crt ``` If you have an `app-config.local.yaml` for local development, a similar update