Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions postgres/config/custom_memory.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
shared_buffers = 1024MB
work_mem = 16MB
maintenance_work_mem = 256MB
effective_cache_size = 3072MB
2 changes: 2 additions & 0 deletions postgres/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ services:
- .env
volumes:
- pgdata:/var/lib/postgresql/data
- ./config/custom_memory.conf:/etc/postgresql/custom_memory.conf
ports:
- "5432:5432"
command: postgres -c 'config_file=/var/lib/postgresql/data/postgresql.conf' -c 'include_if_exists=/etc/postgresql/custom_memory.conf'

volumes:
pgdata: