You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/environment-variables.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -310,6 +310,36 @@ Comma-separated list of URIs. Configures the [`script-src`][mdn-csp-script-src]
310
310
311
311
Comma-separated list of URIs. Configures the [`style-src`][mdn-csp-style-src] Content Security Policy directive.
312
312
313
+
## PostgreSQL
314
+
315
+
!!! tldr "`postgres` Docker image docs"
316
+
317
+
The official PostgreSQL Docker image has more on available [`postgres` environment variables][postgres]
318
+
319
+
### `PGWEB_PORT`
320
+
321
+
The port to serve a (local only) [`pgweb`](https://sosedoff.github.io/pgweb/) service on.
322
+
323
+
### `POSTGRES_DB`
324
+
325
+
Used to define a different name for the default database that is created when the image is first started. If it is not specified, then the value of [`POSTGRES_USER`](#postgres_user) will be used.
326
+
327
+
### `POSTGRES_HOSTNAME`
328
+
329
+
The hostname of the (local) PostgreSQL Docker service, which is usually just the name of the service itself (`postgres`). Used by e.g. `pgweb` to establish a connection. Or the hostname of a cloud-based PostgreSQL service for e.g. Django to establish a connection.
330
+
331
+
### `POSTGRES_PASSWORD`
332
+
333
+
Required to use the (local) PostgreSQL Docker service. It must not be empty or undefined. This environment variable sets the superuser password for PostgreSQL.
334
+
335
+
### `POSTGRES_PORT`
336
+
337
+
The port exposed by the (local) PostgreSQL Docker service. Or the port on which to connect to a cloud-based PostgreSQL service.
338
+
339
+
### `POSTGRES_USER`
340
+
341
+
Used in conjunction with [`POSTGRES_PASSWORD`](#postgres_password) to set a user and its password. This variable will create the specified user with superuser power.
342
+
313
343
## reCAPTCHA
314
344
315
345
!!! tldr "reCAPTCHA docs"
@@ -413,6 +443,7 @@ The default is `0.0` (i.e. no transactions are tracked).
0 commit comments