mirror of https://github.com/FreshRSS/FreshRSS.git
Docker example of PostgreSQL tuning (#5446)
Provide example of how to easily tune selected PostgreSQL settings https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
This commit is contained in:
parent
bab353ce61
commit
a495e995bc
|
@ -6,7 +6,7 @@ volumes:
|
|||
services:
|
||||
|
||||
freshrss-db:
|
||||
image: postgres:14
|
||||
image: postgres:15
|
||||
container_name: freshrss-db
|
||||
hostname: freshrss-db
|
||||
restart: unless-stopped
|
||||
|
@ -19,3 +19,11 @@ services:
|
|||
POSTGRES_DB: ${DB_BASE:-freshrss}
|
||||
POSTGRES_USER: ${DB_USER:-freshrss}
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD:-freshrss}
|
||||
command:
|
||||
# Examples of PostgreSQL tuning.
|
||||
# https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
|
||||
# When in doubt, skip and stick to default PostgreSQL settings.
|
||||
- -c
|
||||
- shared_buffers=1GB
|
||||
- -c
|
||||
- work_mem=32MB
|
||||
|
|
Loading…
Reference in New Issue