Give postgres a bit more RAM
This commit is contained in:
parent
0b6e326762
commit
3432121be2
1 changed files with 6 additions and 1 deletions
|
@ -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: .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue