mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Increase shm_size for postgres container (#868)
This prevent VACUUM from failing with error "could not resize shared memory segment "/PostgreSQL.1038930517" to 67128416 bytes: No space left on device" This degrades the performances of the database
This commit is contained in:
parent
0ce063e8f0
commit
4e8aa5e5c5
@ -4,6 +4,7 @@ services:
|
||||
postgres:
|
||||
restart: unless-stopped
|
||||
container_name: generated_postgres_1
|
||||
shm_size: 256mb
|
||||
image: btcpayserver/postgres:13.13
|
||||
command: [ "-c", "random_page_cost=1.0", "-c", "shared_preload_libraries=pg_stat_statements" ]
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user