From 742af7884a80bfd3e4a9e633869545966b1eca5f Mon Sep 17 00:00:00 2001 From: BOHEUS <56270748+BOHEUS@users.noreply.github.com> Date: Mon, 26 May 2025 10:20:19 +0000 Subject: [PATCH] Update Makefile in local setup to clean postgres instead of pg-spile (#12273) In Makefile used for Local dev setup spilo container is still in the use despite deprecating it in 0.43.0 --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 435473946..e3c7be965 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ postgres-on-docker: docker run -d \ --name twenty_pg \ - -e PGUSER_SUPERUSER=postgres \ - -e PGPASSWORD_SUPERUSER=postgres \ + -e POSTGRES_USER=postgres \ + -e POSTGRES_PASSWORD=postgres \ -e ALLOW_NOSSL=true \ - -v twenty_db_data:/home/postgres/pgdata \ + -v twenty_db_data:/var/lib/postgresql/data \ -p 5432:5432 \ - twentycrm/twenty-postgres-spilo:latest + postgres:16 @echo "Waiting for PostgreSQL to be ready..." @until docker exec twenty_pg psql -U postgres -d postgres \ -c 'SELECT pg_is_in_recovery();' 2>/dev/null | grep -q 'f'; do \