From f693d12a8949327b110af505dcb8615d573bbd54 Mon Sep 17 00:00:00 2001 From: James Kent Date: Thu, 11 Jul 2024 18:37:36 -0500 Subject: [PATCH] modify for smaller values --- store/postgres/Dockerfile | 4 ++-- store/postgres/postgresql.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/store/postgres/Dockerfile b/store/postgres/Dockerfile index 482de72d..b3fe145a 100644 --- a/store/postgres/Dockerfile +++ b/store/postgres/Dockerfile @@ -10,7 +10,7 @@ RUN service cron start RUN dos2unix /home/pg_dump-to-s3.sh RUN dos2unix /home/s3-autodelete.sh -# COPY postgresql.conf /etc/postgresql/postgresql.conf +COPY postgresql.conf /etc/postgresql/postgresql.conf # Set PostgreSQL to use the custom configuration file -# CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"] +CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"] diff --git a/store/postgres/postgresql.conf b/store/postgres/postgresql.conf index 2af06c44..74b1fcb8 100644 --- a/store/postgres/postgresql.conf +++ b/store/postgres/postgresql.conf @@ -1,2 +1,2 @@ -shared_buffers = 128MB -work_mem = 8MB +shared_buffers = 64MB +work_mem = 4MB