diff --git a/bitnami/supabase-realtime/2/debian-11/Dockerfile b/bitnami/supabase-realtime/2/debian-11/Dockerfile index e989525d9e22..2c73290ac2a8 100644 --- a/bitnami/supabase-realtime/2/debian-11/Dockerfile +++ b/bitnami/supabase-realtime/2/debian-11/Dockerfile @@ -7,13 +7,13 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-01-11T18:55:48Z" \ + org.opencontainers.image.created="2024-01-18T16:09:53Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="2.25.56-debian-11-r0" \ + org.opencontainers.image.ref.name="2.25.57-debian-11-r0" \ org.opencontainers.image.title="supabase-realtime" \ org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="2.25.56" + org.opencontainers.image.version="2.25.57" ENV HOME="/" \ OS_ARCH="${TARGETARCH:-amd64}" \ @@ -26,7 +26,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libgcc-s1 libssl1.1 libstdc++6 libtinfo6 procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "supabase-realtime-2.25.56-0-linux-${OS_ARCH}-debian-11" \ + "supabase-realtime-2.25.57-0-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -43,7 +43,7 @@ RUN apt-get autoremove --purge -y curl && \ RUN useradd -r -u 1001 -g root supabase-realtime RUN chmod g+rwX -R /opt/bitnami/supabase-realtime/lib/tzdata-*/priv -ENV APP_VERSION="2.25.56" \ +ENV APP_VERSION="2.25.57" \ BITNAMI_APP_NAME="supabase-realtime" \ PATH="/opt/bitnami/supabase-realtime/bin:$PATH" diff --git a/bitnami/supabase-realtime/2/debian-11/docker-compose.yml b/bitnami/supabase-realtime/2/debian-11/docker-compose.yml deleted file mode 100644 index 13f844ef18b1..000000000000 --- a/bitnami/supabase-realtime/2/debian-11/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -version: '2' - -services: - supabase-realtime: - image: docker.io/bitnami/supabase-realtime:2 diff --git a/bitnami/supabase-realtime/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/supabase-realtime/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 7424a8af2029..433858ed5882 100644 --- a/bitnami/supabase-realtime/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/supabase-realtime/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,6 +3,6 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "2.25.56-0" + "version": "2.25.57-0" } } \ No newline at end of file diff --git a/bitnami/supabase-realtime/2/debian-11/tags-info.yaml b/bitnami/supabase-realtime/2/debian-11/tags-info.yaml index 4771b070bc50..1b29f40d786f 100644 --- a/bitnami/supabase-realtime/2/debian-11/tags-info.yaml +++ b/bitnami/supabase-realtime/2/debian-11/tags-info.yaml @@ -1,5 +1,5 @@ rolling-tags: - "2" - 2-debian-11 -- 2.25.56 +- 2.25.57 - latest diff --git a/bitnami/supabase-realtime/README.md b/bitnami/supabase-realtime/README.md index cbe91aa9d432..a27156c4eb33 100644 --- a/bitnami/supabase-realtime/README.md +++ b/bitnami/supabase-realtime/README.md @@ -13,13 +13,6 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema docker run -it --name supabase-realtime bitnami/supabase-realtime ``` -### Docker Compose - -```console -curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/supabase-realtime/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 Realtime, including security pa docker pull bitnami/supabase-realtime:latest ``` -or if you're using Docker Compose, update the value of the image property to `bitnami/supabase-realtime:latest`. - #### Step 2: Remove the currently running container ```console docker rm -v supabase-realtime ``` -or using Docker Compose: - -```console -docker-compose rm -v supabase-realtime -``` - #### Step 3: Run the new image Re-create your container from the new image. @@ -95,45 +80,42 @@ Re-create your container from the new image. docker run --name supabase-realtime bitnami/supabase-realtime:latest ``` -or using Docker Compose: - -```console -docker-compose up supabase-realtime -``` - ## Configuration ### Environment variables -| Name | Description | Default Value | Can be set | -|-------------------------------------|------------------------------------------------------------------------------|-------------------------------------------------------|------------| -| `$SUPABASE_REALTIME_BASE_DIR` | Supabase-realtime installation directory. | `${BITNAMI_ROOT_DIR}/supabase-realtime` | | -| `$SUPABASE_REALTIME_LOGS_DIR` | Directory where Supabase-realtime logs are stored. | `${SUPABASE_REALTIME_BASE_DIR}/logs` | | -| `$SUPABASE_REALTIME_LOG_FILE` | Directory where Supabase-realtime logs are stored. | `${SUPABASE_REALTIME_LOGS_DIR}/supabase-realtime.log` | | -| `$SUPABASE_REALTIME_BIN_DIR` | Supabase-realtime directory for binary executables. | `${SUPABASE_REALTIME_BASE_DIR}/bin` | | -| `$SUPABASE_REALTIME_TMP_DIR` | Directory where Supabase-realtime temporary files are stored. | `${SUPABASE_REALTIME_BASE_DIR}/tmp` | | -| `$SUPABASE_REALTIME_PID_FILE` | Path to the PID file for Supabase-realtime. | `${SUPABASE_REALTIME_TMP_DIR}/supabase-realtime.pid` | | -| `$SUPABASE_REALTIME_EXTRA_ENV_FILE` | File to store extra environment variables for the harbor-jobservice service. | `${SUPABASE_REALTIME_BASE_DIR}/.env` | | -| `$DB_HOST` | Database host | `localhost` | ✓ | -| `$DB_PORT` | Database port number | `5432` | ✓ | -| `$DB_NAME` | Database name | `postgres` | ✓ | -| `$DB_USER` | Database user username | `postgres` | ✓ | -| `$DB_PASSWORD` | Database password | | ✓ | -| `$DB_SSL` | Database SSL connection enabled | `disable` | ✓ | -| `$API_JWT_SECRET` | API Secret | | ✓ | -| `$SECRET_KEY_BASE` | Key Base Secret | | ✓ | -| `$PORT` | Service Port | `9500` | ✓ | -| `$FLY_APP_NAME` | App Name | `realtime` | ✓ | -| `$FLY_ALLOC_ID` | Alloc ID | `realtime` | ✓ | -| `$ERL_AFLAGS` | Flags | `-proto_dist inet_tcp` | ✓ | -| `$REPLICATION_MODE` | Replication Mode | `RLS` | ✓ | -| `$REPLICATION_POLL_INTERVAL` | Replication pool interval | `100` | ✓ | -| `$SECURE_CHANNELS` | Secure channels | `true` | ✓ | -| `$SLOT_NAME` | Slot name | `supabase_realtime_rls` | ✓ | -| `$TEMPORARY_SLOT` | Temporary Slot | `true` | ✓ | -| `$SUPABASE_REALTIME_DAEMON_USER` | postgrest system user. | `supabase` | | -| `$SUPABASE_REALTIME_DAEMON_GROUP` | postgrest system group. | `supabase` | | +#### Customizable environment variables +| Name | Description | Default Value | +|-----------------------------|---------------------------------|-------------------------| +| `DB_HOST` | Database host | `localhost` | +| `DB_PORT` | Database port number | `5432` | +| `DB_NAME` | Database name | `postgres` | +| `DB_USER` | Database user username | `postgres` | +| `DB_SSL` | Database SSL connection enabled | `disable` | +| `PORT` | Service Port | `9500` | +| `FLY_APP_NAME` | App Name | `realtime` | +| `FLY_ALLOC_ID` | Alloc ID | `realtime` | +| `ERL_AFLAGS` | Flags | `-proto_dist inet_tcp` | +| `REPLICATION_MODE` | Replication Mode | `RLS` | +| `REPLICATION_POLL_INTERVAL` | Replication pool interval | `100` | +| `SECURE_CHANNELS` | Secure channels | `true` | +| `SLOT_NAME` | Slot name | `supabase_realtime_rls` | +| `TEMPORARY_SLOT` | Temporary Slot | `true` | + +#### Read-only environment variables + +| Name | Description | Value | +|------------------------------------|------------------------------------------------------------------------------|-------------------------------------------------------| +| `SUPABASE_REALTIME_BASE_DIR` | Supabase-realtime installation directory. | `${BITNAMI_ROOT_DIR}/supabase-realtime` | +| `SUPABASE_REALTIME_LOGS_DIR` | Directory where Supabase-realtime logs are stored. | `${SUPABASE_REALTIME_BASE_DIR}/logs` | +| `SUPABASE_REALTIME_LOG_FILE` | Directory where Supabase-realtime logs are stored. | `${SUPABASE_REALTIME_LOGS_DIR}/supabase-realtime.log` | +| `SUPABASE_REALTIME_BIN_DIR` | Supabase-realtime directory for binary executables. | `${SUPABASE_REALTIME_BASE_DIR}/bin` | +| `SUPABASE_REALTIME_TMP_DIR` | Directory where Supabase-realtime temporary files are stored. | `${SUPABASE_REALTIME_BASE_DIR}/tmp` | +| `SUPABASE_REALTIME_PID_FILE` | Path to the PID file for Supabase-realtime. | `${SUPABASE_REALTIME_TMP_DIR}/supabase-realtime.pid` | +| `SUPABASE_REALTIME_EXTRA_ENV_FILE` | File to store extra environment variables for the harbor-jobservice service. | `${SUPABASE_REALTIME_BASE_DIR}/.env` | +| `SUPABASE_REALTIME_DAEMON_USER` | postgrest system user. | `supabase` | +| `SUPABASE_REALTIME_DAEMON_GROUP` | postgrest system group. | `supabase` | ### Running commands @@ -145,6 +127,12 @@ docker run --rm --name supabase-realtime bitnami/supabase-realtime:latest --help Check the [official Supabase Realtime documentation](https://github.com/supabase/realtime) for more information about how to use Supabase Realtime. +## 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.