mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
feat(docker): update postgres configuration for improved performance
This commit is contained in:
@@ -51,3 +51,4 @@ OPTIMIZATIONS.md
|
||||
|
||||
# Claude doesn't respect AGENTS.md and I don't want double AGENTS.md files on the repo.
|
||||
CLAUDE.md
|
||||
.github/prompts/
|
||||
|
||||
@@ -22,6 +22,18 @@ services:
|
||||
image: postgres:16-alpine
|
||||
env_file:
|
||||
- .env.docker
|
||||
command:
|
||||
- "postgres"
|
||||
- "-c"
|
||||
- "max_connections=200"
|
||||
- "-c"
|
||||
- "shared_buffers=256MB"
|
||||
- "-c"
|
||||
- "work_mem=16MB"
|
||||
- "-c"
|
||||
- "effective_cache_size=1GB"
|
||||
- "-c"
|
||||
- "maintenance_work_mem=128MB"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user