Merge pull request #9858 from marcus-crane/update-postgres-tutorial-ssl

fix(docs): Update Postgres tutorial SSL block to match current Postgres template config
This commit is contained in:
Patrik Oldsberg
2022-03-03 14:34:41 +01:00
committed by GitHub
+5 -3
View File
@@ -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: <file-path>/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: <file-path>/ca/server.crt
```
If you have an `app-config.local.yaml` for local development, a similar update