# PostgreSQL configuration tuned for Synology DS1513+ (4GB RAM) # Place this file at postgres/postgresql.conf and mount it into the container. # --- Memory --- shared_buffers = 128MB effective_cache_size = 512MB work_mem = 8MB maintenance_work_mem = 64MB # --- Connections --- max_connections = 10 max_worker_processes = 2 # --- WAL / Checkpointing --- wal_buffers = 4MB checkpoint_completion_target = 0.9 max_wal_senders = 3 # --- Network --- listen_addresses = '*' # --- Logging --- log_statement = 'none' log_duration = off log_min_duration_statement = 0 log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '