Skip to content

Commit

Permalink
Fix: increase shared memory size for PostgreSQL container (#428)
Browse files Browse the repository at this point in the history
Problem: some SQL queries end up requiring more than the (limited)
amount of shared memory allocated to Docker containers by default.

Solution: increase it to 2GB.
  • Loading branch information
odesenfans authored May 2, 2023
1 parent e35c6df commit 797ee31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployment/docker-build/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ services:
POSTGRES_DB: aleph
networks:
- pyaleph
shm_size: "2gb"

redis:
restart: always
Expand Down
1 change: 1 addition & 0 deletions deployment/samples/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ services:
POSTGRES_DB: aleph
networks:
- pyaleph
shm_size: "2gb"

rabbitmq:
restart: always
Expand Down
1 change: 1 addition & 0 deletions deployment/samples/docker-monitoring/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ services:
POSTGRES_DB: aleph
networks:
- pyaleph
shm_size: "2gb"

rabbitmq:
restart: always
Expand Down

0 comments on commit 797ee31

Please sign in to comment.