From bedd4bdd595a5efb1e513c467e5cde68c5e2729f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20H=2E=20Fjeld?= Date: Tue, 29 Oct 2024 15:31:29 +0100 Subject: [PATCH] devops: Workaround supabase init bug after upgrade --- docker-compose.supabase_docker.customise.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.supabase_docker.customise.yml b/docker-compose.supabase_docker.customise.yml index 1d55e4fc4..03ce41784 100644 --- a/docker-compose.supabase_docker.customise.yml +++ b/docker-compose.supabase_docker.customise.yml @@ -23,6 +23,11 @@ services: volumes: # Make all files available for running tests. - ..:/statbus + environment: + # Update to match https://github.com/supabase/postgres/blob/develop/Dockerfile-16#L214 + # for the new setup where postres is not the default user. + POSTGRES_USER: supabase_admin + POSTGRES_DB: postgres command: - postgres - -c