[bitnami/supabase-postgres-meta] Release 0.75.0-debian-11-r2 (#55185)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2024-01-20 06:42:16 +01:00 committed by GitHub
parent bc3e29b895
commit 4475a0dca0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 37 additions and 32 deletions

View File

@ -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-28T04:20:47Z" \
org.opencontainers.image.created="2024-01-20T05:11:27Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="0.75.0-debian-11-r1" \
org.opencontainers.image.ref.name="0.75.0-debian-11-r2" \
org.opencontainers.image.title="supabase-postgres-meta" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="0.75.0"
@ -43,6 +43,7 @@ RUN apt-get autoremove --purge -y curl && \
apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN useradd -r -u 1001 -g root supabase-postgres-meta
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
RUN mkdir /.npm && chmod g+rwX /.npm
ENV APP_VERSION="0.75.0" \

View File

@ -1,8 +0,0 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
version: '2'
services:
supabase-postgres-meta:
image: docker.io/bitnami/supabase-postgres-meta:0

View File

@ -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

View File

@ -13,13 +13,6 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
docker run -it --name supabase-postgres-meta bitnami/supabase-postgres-meta
```
### Docker Compose
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/supabase-postgres-meta/docker-compose.yml > docker-compose.yml
docker-compose up -d
```
## Why use Bitnami Images?
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
@ -73,20 +66,12 @@ Bitnami provides up-to-date versions of Supabase postgres-meta, including securi
docker pull bitnami/supabase-postgres-meta:latest
```
or if you're using Docker Compose, update the value of the image property to `bitnami/supabase-postgres-meta:latest`.
#### Step 2: Remove the currently running container
```console
docker rm -v supabase-postgres-meta
```
or using Docker Compose:
```console
docker-compose rm -v supabase-postgres-meta
```
#### Step 3: Run the new image
Re-create your container from the new image.
@ -95,14 +80,35 @@ Re-create your container from the new image.
docker run --name supabase-postgres-meta bitnami/supabase-postgres-meta:latest
```
or using Docker Compose:
```console
docker-compose up supabase-postgres-meta
```
## Configuration
### Environment variables
#### Customizable environment variables
| Name | Description | Default Value |
|-----------------------|------------------------|------------------|
| `PG_META_DB_HOST` | Database host | `localhost` |
| `PG_META_DB_PORT` | Database port number | `5432` |
| `PG_META_DB_NAME` | Database name | `postgres` |
| `PG_META_DB_USER` | Database user username | `supabase_admin` |
| `PG_META_DB_SSL_MODE` | Database SSL mode | `disable` |
| `PG_META_PORT` | Service Port | `9600` |
#### Read-only environment variables
| Name | Description | Value |
|-----------------------------------------|-----------------------------------------------------------------------------------|-----------------------------------------------------------------|
| `SUPABASE_POSTGRES_META_BASE_DIR` | Supabase-postgres-meta installation directory. | `${BITNAMI_ROOT_DIR}/supabase-postgres-meta` |
| `SUPABASE_POSTGRES_META_LOGS_DIR` | Directory where Supabase-postgres-meta logs are stored. | `${SUPABASE_POSTGRES_META_BASE_DIR}/logs` |
| `SUPABASE_POSTGRES_META_LOG_FILE` | Directory where Supabase-postgres-meta logs are stored. | `${SUPABASE_POSTGRES_META_LOGS_DIR}/supabase-postgres-meta.log` |
| `SUPABASE_POSTGRES_META_BIN_DIR` | Supabase-postgres-meta directory for binary executables. | `${SUPABASE_POSTGRES_META_BASE_DIR}/node_modules/.bin` |
| `SUPABASE_POSTGRES_META_TMP_DIR` | Directory where Supabase-postgres-meta temporary files are stored. | `${SUPABASE_POSTGRES_META_BASE_DIR}/tmp` |
| `SUPABASE_POSTGRES_META_PID_FILE` | Path to the PID file for Supabase-postgres-meta. | `${SUPABASE_POSTGRES_META_TMP_DIR}/supabase-postgres-meta.pid` |
| `SUPABASE_POSTGRES_META_EXTRA_ENV_FILE` | File to store extra environment variables for the supabase-postgres-meta service. | `${SUPABASE_POSTGRES_META_BASE_DIR}/.env` |
| `SUPABASE_POSTGRES_META_DAEMON_USER` | postgrest system user. | `supabase` |
| `SUPABASE_POSTGRES_META_DAEMON_GROUP` | postgrest system group. | `supabase` |
### Running commands
To run commands inside this container you can use `docker run`, for example to execute `npm --help` you can follow the example below:
@ -113,6 +119,12 @@ docker run --rm --name supabase-postgres-meta bitnami/supabase-postgres-meta:lat
Check the [official Supabase postgres-meta documentation](https://github.com/supabase/postgres-meta) for more information about how to use Supabase postgres-meta.
## Notable Changes
### Starting January 16, 2024
* The `docker-compose.yaml` file has been removed, as it was solely intended for internal testing purposes.
## Contributing
We'd love for you to contribute to this Docker image. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.