mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:41:08 +02:00
The config_file override replaced the entire default PostgreSQL config including listen_addresses, breaking inter-container communication. Use inline -c flags instead which only override specific parameters. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
489 B
Text
22 lines
489 B
Text
# PostgreSQL Performance Tuning for Mac Mini (16GB RAM)
|
|
# Shared with ~70 other containers, so conservative settings
|
|
|
|
# Network (required for Docker inter-container communication)
|
|
listen_addresses = '*'
|
|
|
|
# Performance
|
|
shared_buffers = 512MB
|
|
effective_cache_size = 2GB
|
|
work_mem = 16MB
|
|
maintenance_work_mem = 128MB
|
|
|
|
# WAL Settings
|
|
max_wal_size = 1GB
|
|
min_wal_size = 80MB
|
|
|
|
# Replication (for pg_basebackup)
|
|
max_wal_senders = 3
|
|
|
|
# Logging
|
|
log_min_duration_statement = 1000
|
|
log_checkpoints = on
|