[bitnami/postgrest] Release 11.2.2-debian-11-r4 (#54746)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
c5e9c4d443
commit
9984c66e40
|
|
@ -7,10 +7,10 @@ ARG TARGETARCH
|
|||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-12-14T08:37:32Z" \
|
||||
org.opencontainers.image.created="2024-01-13T08:58:00Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="11.2.2-debian-11-r3" \
|
||||
org.opencontainers.image.ref.name="11.2.2-debian-11-r4" \
|
||||
org.opencontainers.image.title="postgrest" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="11.2.2"
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
# Copyright VMware, Inc.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
postgrest:
|
||||
image: docker.io/bitnami/postgrest:11
|
||||
|
|
@ -10,7 +10,7 @@ fi
|
|||
|
||||
script=$1
|
||||
exit_code="${2:-96}"
|
||||
fail_if_not_present="${3:-y}"
|
||||
fail_if_not_present="${3:-n}"
|
||||
|
||||
if test -f "$script"; then
|
||||
sh $script
|
||||
|
|
|
|||
|
|
@ -103,6 +103,33 @@ docker-compose up postgrest
|
|||
|
||||
## Configuration
|
||||
|
||||
### Environment variables
|
||||
|
||||
| Name | Description | Default Value | Can be set |
|
||||
|-----------------------------|----------------------------------------------------------------------|---------------------------------------------------------------------------------------------|------------|
|
||||
| `$POSTGREST_BASE_DIR` | postgrest installation directory. | `${BITNAMI_ROOT_DIR}/postgrest` | |
|
||||
| `$POSTGREST_LOGS_DIR` | Directory where postgrest logs are stored. | `${POSTGREST_BASE_DIR}/logs` | |
|
||||
| `$POSTGREST_LOG_FILE` | Directory where postgrest logs are stored. | `${POSTGREST_LOGS_DIR}/postgrest.log` | |
|
||||
| `$POSTGREST_BIN_DIR` | postgrest directory for binary executables. | `${POSTGREST_BASE_DIR}/bin` | |
|
||||
| `$POSTGREST_TMP_DIR` | Directory where postgrest temporary files are stored. | `${POSTGREST_BASE_DIR}/tmp` | |
|
||||
| `$POSTGREST_PID_FILE` | Path to the PID file for postgrest. | `${POSTGREST_TMP_DIR}/postgrest.pid` | |
|
||||
| `$POSTGREST_EXTRA_ENV_FILE` | File to store extra environment variables for the postgrest service. | `${POSTGREST_BASE_DIR}/.env` | |
|
||||
| `$DB_HOST` | Database host | `localhost` | ✓ |
|
||||
| `$DB_PORT` | Database port number | `5432` | ✓ |
|
||||
| `$DB_USER` | Database user username | `postgres` | ✓ |
|
||||
| `$DB_PASSWORD` | Database user password | | ✓ |
|
||||
| `$DB_NAME` | Database name | `postgres` | ✓ |
|
||||
| `$DB_SSL` | Database SSL connection enabled | `disable` | ✓ |
|
||||
| `$PGRST_JWT_SECRET` | Postgrest JWT secret | | ✓ |
|
||||
| `$PGRST_DB_ANON_ROLE` | Postgrest anon role | `anon` | ✓ |
|
||||
| `$PGRST_DB_SCHEMA` | Postgrest database schema | `public,storage` | ✓ |
|
||||
| `$PGRST_DB_USE_LEGACY_GUCS` | Postgrest use legacy GUCS | `false` | ✓ |
|
||||
| `$PGRST_SERVER_PORT` | Postgrest server port | `3000` | ✓ |
|
||||
| `$PGRST_DB_URI` | Postgres DB URI | `postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}?sslmode=${DB_SSL}` | |
|
||||
| `$POSTGREST_DAEMON_USER` | postgrest system user. | `supabase` | |
|
||||
| `$POSTGREST_DAEMON_GROUP` | postgrest system group. | `supabase` | |
|
||||
|
||||
|
||||
### Running commands
|
||||
|
||||
To run commands inside this container you can use `docker run`, for example to execute `postgrest --help` you can follow the example below:
|
||||
|
|
|
|||
Loading…
Reference in New Issue