Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ postgres_major:

# Full version strings for each major version
postgres_release:
postgresorioledb-17: "17.0.1.087-orioledb"
postgres17: "17.4.1.037"
postgres15: "15.8.1.094"
postgresorioledb-17: "17.0.1.088-orioledb"
postgres17: "17.4.1.038"
postgres15: "15.8.1.095"

# Non Postgres Extensions
pgbouncer_release: "1.19.0"
Expand Down
7 changes: 4 additions & 3 deletions docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ pg_sync_password() {
ALTER USER supabase_admin WITH PASSWORD :'pgpass';
EOSQL

# execute the roles SQL file using docker_process_sql
docker_process_sql -f /docker-entrypoint-initdb.d/init-scripts/99-roles.sql
docker_process_sql -f "${ROLES_INIT_SCRIPT_PATH}"

docker_temp_server_stop
unset PGPASSWORD
Expand Down Expand Up @@ -72,7 +71,9 @@ _main() {
EOM
fi

pg_sync_password "$@"
if [ -n "${ROLES_INIT_SCRIPT_PATH:-}" ]; then
pg_sync_password "$@"
fi
fi

exec "$@"
Expand Down
Loading