We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2c3762 commit eb65edaCopy full SHA for eb65eda
docker/docker-entrypoint.sh
@@ -16,8 +16,7 @@ pg_sync_password() {
16
ALTER USER supabase_admin WITH PASSWORD :'pgpass';
17
EOSQL
18
19
- # execute the roles SQL file using docker_process_sql
20
- docker_process_sql -f /docker-entrypoint-initdb.d/init-scripts/99-roles.sql
+ docker_process_sql -f "${ROLES_INIT_SCRIPT_PATH}"
21
22
docker_temp_server_stop
23
unset PGPASSWORD
@@ -72,7 +71,7 @@ _main() {
72
71
EOM
73
fi
74
75
- if [ -n "${SUPABASE_SELF_HOSTING:-}" ]; then
+ if [ -n "${ROLES_INIT_SCRIPT_PATH:-}" ]; then
76
pg_sync_password "$@"
77
78
0 commit comments