diff --git a/bitnami/supabase-studio/0/debian-11/Dockerfile b/bitnami/supabase-studio/0/debian-11/Dockerfile index 0f4e47d6cf62..d560fa159ab3 100644 --- a/bitnami/supabase-studio/0/debian-11/Dockerfile +++ b/bitnami/supabase-studio/0/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-08T17:45:49Z" \ + org.opencontainers.image.created="2024-01-12T09:25:47Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="0.23.10-debian-11-r2" \ + org.opencontainers.image.ref.name="0.23.11-debian-11-r0" \ org.opencontainers.image.title="supabase-studio" \ org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="0.23.10" + org.opencontainers.image.version="0.23.11" ENV HOME="/" \ OS_ARCH="${TARGETARCH:-amd64}" \ @@ -28,7 +28,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ "python-3.11.7-2-linux-${OS_ARCH}-debian-11" \ "node-18.19.0-0-linux-${OS_ARCH}-debian-11" \ - "supabase-0.23.10-0-linux-${OS_ARCH}-debian-11" \ + "supabase-0.23.11-0-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -44,9 +44,9 @@ RUN apt-get autoremove --purge -y curl && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN useradd -r -u 1001 -g root supabase -RUN mkdir -p /opt/bitnami/supabase/studio/.next/cache && chmod g+rwX /opt/bitnami/supabase/studio/.next/cache +RUN mkdir -p /opt/bitnami/supabase/apps/studio/.next/cache && chmod g+rwX /opt/bitnami/supabase/apps/studio/.next/cache RUN mkdir /.npm && chmod g+rwX /.npm -ENV APP_VERSION="0.23.10" \ +ENV APP_VERSION="0.23.11" \ BITNAMI_APP_NAME="supabase-studio" \ PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/supabase/studio/node_modules/next/dist/bin:$PATH" @@ -55,4 +55,4 @@ EXPOSE 3000 WORKDIR /opt/bitnami/supabase USER 1001 ENTRYPOINT [ "/opt/bitnami/node/bin/node" ] -CMD [ "studio/server.js" ] +CMD [ "apps/studio/server.js" ] diff --git a/bitnami/supabase-studio/0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/supabase-studio/0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 78046bb28c14..40a3e5b21c4a 100644 --- a/bitnami/supabase-studio/0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/supabase-studio/0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -15,6 +15,6 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "0.23.10-0" + "version": "0.23.11-0" } } \ No newline at end of file diff --git a/bitnami/supabase-studio/0/debian-11/tags-info.yaml b/bitnami/supabase-studio/0/debian-11/tags-info.yaml index 9481ae3dd6b3..e32447f07a15 100644 --- a/bitnami/supabase-studio/0/debian-11/tags-info.yaml +++ b/bitnami/supabase-studio/0/debian-11/tags-info.yaml @@ -1,5 +1,5 @@ rolling-tags: - "0" - 0-debian-11 -- 0.23.10 +- 0.23.11 - latest diff --git a/bitnami/supabase-studio/README.md b/bitnami/supabase-studio/README.md index 61ae9008509c..9e8d43c0ce67 100644 --- a/bitnami/supabase-studio/README.md +++ b/bitnami/supabase-studio/README.md @@ -103,6 +103,32 @@ docker-compose up supabase-studio ## Configuration +### Environment variables + +| Name | Description | Default Value | Can be set | +|----------------------------------|---------------------------------------------------------------------|---------------------------------------|------------| +| `$SUPABASE_BASE_DIR` | Supabase installation directory. | `${BITNAMI_ROOT_DIR}/supabase` | | +| `$SUPABASE_LOGS_DIR` | Directory where Supabas logs are stored. | `${SUPABASE_BASE_DIR}/logs` | | +| `$SUPABASE_LOG_FILE` | Directory where Supabase logs are stored. | `${SUPABASE_LOGS_DIR}/supabase.log` | | +| `$SUPABASE_BIN_DIR` | Supabase directory for binary files. | `${SUPABASE_BASE_DIR}/bin` | | +| `$SUPABASE_SECRETS_DIR` | Directory where Supabase keys files are stored. | `${SUPABASE_BASE_DIR}/keys` | ✓ | +| `$SUPABASE_TMP_DIR` | Directory where Supabase temporary files are stored. | `${SUPABASE_BASE_DIR}/tmp` | | +| `$SUPABASE_PID_FILE` | Path to the PID file for Supabase. | `${SUPABASE_TMP_DIR}/supabase.pid` | | +| `$SUPABASE_EXTRA_ENV_FILE` | File to store extra environment variables for the supabase service. | `${SUPABASE_BASE_DIR}/.env` | | +| `$SUPABASE_ANON_KEY_FILENAME` | Supabase anon key filename | `${SUPABASE_SECRETS_DIR}/anon-key` | ✓ | +| `$SUPABASE_SERVICE_KEY_FILENAME` | Supabase service key filename | `${SUPABASE_SECRETS_DIR}/service-key` | ✓ | +| `$SUPABASE_SECRET_KEY_FILENAME` | Supabase admin key filename | `${SUPABASE_SECRETS_DIR}/secret` | ✓ | +| `$SUPABASE_ANON_KEY` | Supabase anon key | | ✓ | +| `$SUPABASE_SERVICE_KEY` | Supabase service key | | ✓ | +| `$SUPABASE_SECRET_KEY` | Supabase admin key | | ✓ | +| `$PORT` | Supabase service port | `4000` | ✓ | +| `$SUPABASE_PUBLIC_URL` | Supabase public urli | `http://localhost:80` | ✓ | +| `$STUDIO_PG_META_URL` | Supabase PG Meta URL | `http://localhost/pg` | ✓ | +| `$SUPABASE_URL` | Supabase URL | `http://localhost/` | ✓ | +| `$SUPABASE_DAEMON_USER` | postgrest system user. | `supabase` | | +| `$SUPABASE_DAEMON_GROUP` | postgrest system group. | `supabase` | | + + ### Running commands To run commands inside this container you can use `docker run`, for example to execute `supabase-studio --help` you can follow the example below: