Give postgres a bit more RAM
parent
0b6e326762
commit
3432121be2
|
@ -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…
Reference in New Issue