From 38e12704dfa1faab5b203d327fedf03efb8553b1 Mon Sep 17 00:00:00 2001 From: Garry Hill Date: Tue, 22 Aug 2023 11:47:11 +0100 Subject: [PATCH] docs: Include new SSL-mode env var in deployment docs (#347) --- docs/api/service.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/service.md b/docs/api/service.md index 52bd83e3cc..cdfaba1943 100644 --- a/docs/api/service.md +++ b/docs/api/service.md @@ -34,6 +34,7 @@ Everything in the table below that doesn't have a default value is required to r | Variable | Description | |-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `DATABASE_URL` | PostgreSQL connection URL for the database. | +| `DATABASE_REQUIRE_SSL`

  (`false`)

| Set to `yes` or `true` to require SSL for the connection to the database. Alternatively configure SSL for the connection by adding `sslmode=require` to [the `DATABASE_URL` parameters](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS). Values set in the `DATABASE_URL` will have precedence. | | `LOGICAL_PUBLISHER_HOST` | Host of this electric instance for the reverse connection from Postgres. It has to be accessible from the Postgres instance that is running at `DATABASE_URL`. | | `LOGICAL_PUBLISHER_PORT`

  (`5433`)

| Port number to use for reverse connections from Postgres. | | `HTTP_API_PORT`

  (`5050`)

| Port to expose the HTTP API endpoint on. |