Skip to content

Commit a46d42e

Browse files
committed
feat: change bootstrap user to supabase_admin upon upgrade
1 parent 86687f8 commit a46d42e

File tree

16 files changed

+453
-28
lines changed

16 files changed

+453
-28
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
PGPASSWORD: ${{ env.POSTGRES_PASSWORD }}
109109

110110
schema:
111+
needs: build
111112
runs-on: ubuntu-latest
112113
steps:
113114
- uses: actions/checkout@v3

Dockerfile-156

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ STOPSIGNAL SIGINT
206206
EXPOSE 5432
207207

208208
ENV POSTGRES_HOST=/var/run/postgresql
209+
ENV POSTGRES_USER=supabase_admin
210+
ENV POSTGRES_DB=postgres
209211
RUN apt-get update && apt-get install -y --no-install-recommends \
210212
locales \
211213
&& rm -rf /var/lib/apt/lists/* && \
@@ -219,4 +221,3 @@ ENV LC_CTYPE=C.UTF-8
219221
ENV LC_COLLATE=C.UTF-8
220222
ENV LOCALE_ARCHIVE /usr/lib/locale/locale-archive
221223
CMD ["postgres", "-D", "/etc/postgresql"]
222-

0 commit comments

Comments
 (0)