From 7beaf731bfd87ea0e7951c8e7ddc0099c77c08fc Mon Sep 17 00:00:00 2001 From: kayibal Date: Mon, 29 Jul 2024 16:46:23 +0100 Subject: [PATCH] fix(testing): Fix postgres volume. The volume was not mapped to the correct directory and when it was, the bitnami container would have no access for writing into that directory. That was limiting since we could only write about 100MB which for some tests is not enough. Now we simply increase the SHM and do not use any mapping to sidestep the permission issues. --- testing/docker-compose.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/docker-compose.yaml b/testing/docker-compose.yaml index e8e399e..652261b 100644 --- a/testing/docker-compose.yaml +++ b/testing/docker-compose.yaml @@ -12,8 +12,7 @@ services: POSTGRESQL_SHARED_PRELOAD_LIBRARIES: pg_cron ports: - "5431:5432" - volumes: - - postgres_data:/var/lib/postgresql/data + shm_size: '1gb' app: build: context: .