[bitnami/supabase-postgres] Release 15.1.0-debian-11-r25 (#30016)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
45791bded1
commit
a639905965
|
|
@ -5,10 +5,10 @@ ARG TARGETARCH
|
|||
ARG WITH_ALL_LOCALES="no"
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-04-09T05:23:17Z" \
|
||||
org.opencontainers.image.created="2023-04-12T05:42:52Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="15.1.0-debian-11-r24" \
|
||||
org.opencontainers.image.ref.name="15.1.0-debian-11-r25" \
|
||||
org.opencontainers.image.title="supabase-postgres" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="15.1.0"
|
||||
|
|
|
|||
|
|
@ -112,10 +112,10 @@ is_web_server_running() {
|
|||
#########################
|
||||
web_server_start() {
|
||||
info "Starting $(web_server_type) in background"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/start.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
|
||||
systemctl start "bitnami.$(web_server_type).service"
|
||||
else
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/start.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -130,10 +130,10 @@ web_server_start() {
|
|||
#########################
|
||||
web_server_stop() {
|
||||
info "Stopping $(web_server_type)"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/stop.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
|
||||
systemctl stop "bitnami.$(web_server_type).service"
|
||||
else
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/stop.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -148,10 +148,10 @@ web_server_stop() {
|
|||
#########################
|
||||
web_server_restart() {
|
||||
info "Restarting $(web_server_type)"
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/restart.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
|
||||
systemctl restart "bitnami.$(web_server_type).service"
|
||||
else
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/restart.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -165,10 +165,10 @@ web_server_restart() {
|
|||
# None
|
||||
#########################
|
||||
web_server_reload() {
|
||||
if [[ "$BITNAMI_SERVICE_MANAGER" = "monit" ]]; then
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/reload.sh"
|
||||
elif [[ "$BITNAMI_SERVICE_MANAGER" = "systemd" ]]; then
|
||||
if [[ "${BITNAMI_SERVICE_MANAGER:-}" = "systemd" ]]; then
|
||||
systemctl reload "bitnami.$(web_server_type).service"
|
||||
else
|
||||
"${BITNAMI_ROOT_DIR}/scripts/$(web_server_type)/reload.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@ set -eu
|
|||
## https://github.com/supabase/postgres/blob/develop/migrations/db/migrate.sh
|
||||
##
|
||||
|
||||
export PGDATABASE="${POSTGRES_DB:-postgres}"
|
||||
export PGDATABASE="${POSTGRESQL_DB:-postgres}"
|
||||
export PGHOST="${POSTGRES_HOST:-localhost}"
|
||||
export PGPORT="${POSTGRESQL_PORT_NUMBER:-5432}"
|
||||
if [[ "$POSTGRESQL_USERNAME" = "postgres" ]]; then
|
||||
export PGPASSWORD="${POSTGRESQL_PASSWORD:-}"
|
||||
else
|
||||
export PGPASSWORD="${POSTGRES_POSTGRES_PASSWORD:-}"
|
||||
export PGPASSWORD="${POSTGRESQL_POSTGRES_PASSWORD:-}"
|
||||
fi
|
||||
|
||||
for sql in /opt/bitnami/supabase-postgres/migrations/*.sql; do
|
||||
|
|
|
|||
Loading…
Reference in New Issue