mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-12 01:46: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 doesn't respect AGENTS.md and I don't want double AGENTS.md files on the repo.
|
||||||
CLAUDE.md
|
CLAUDE.md
|
||||||
|
.github/prompts/
|
||||||
|
|||||||
@@ -22,6 +22,18 @@ services:
|
|||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
env_file:
|
env_file:
|
||||||
- .env.docker
|
- .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:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user