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.
This commit is contained in:
kayibal
2024-07-29 16:46:23 +01:00
parent 8196d1c3a1
commit 7beaf731bf

View File

@@ -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: .