You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that things break as soon as you use any Docker image that doesn't use the default assumption for username/password/etc for initial setup, like the Supabase Postgres image (which uses the user supabase_admin for initial bootstrapping and postgres for more limited runtime access).
There's a very janky workaround for the Supabase use case, which is to make a Dockerfile like so:
# Dockerfile
FROM supabase/postgres:15.6.1.132
COPY override-permissions.sql /docker-entrypoint-initdb.d/migrations/99999999999999-override-permissions.sql
-- override-permissions.sqlALTERUSER postgres WITH SUPERUSER;
Not great, though.
The text was updated successfully, but these errors were encountered:
This means that things break as soon as you use any Docker image that doesn't use the default assumption for username/password/etc for initial setup, like the Supabase Postgres image (which uses the user
supabase_admin
for initial bootstrapping andpostgres
for more limited runtime access).There's a very janky workaround for the Supabase use case, which is to make a Dockerfile like so:
Not great, though.
The text was updated successfully, but these errors were encountered: