Give postgres a bit more RAM

main
Max Ignatenko 2024-02-25 11:03:48 +00:00
parent 0b6e326762
commit 3432121be2
1 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,12 @@ services:
environment: environment:
POSTGRES_DB: bluesky POSTGRES_DB: bluesky
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?specify password in .env file}" POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?specify password in .env file}"
command: ["-c", "max_connections=1000"] command: [
"-c", "max_connections=1000",
"-c", "shared_buffers=8GB",
"-c", "work_mem=2GB"
]
shm_size: '16gb'
lister: lister:
build: build:
context: . context: .