Skip to content

Commit

Permalink
set shm size of postgres
Browse files Browse the repository at this point in the history
Fixed goharbor#15034, as for postgres 13, the default shm size is 64MB, set to 1gb to avoid could not resize shared memory segment error.

Signed-off-by: Wang Yan <wangyan@vmware.com>
  • Loading branch information
wy65701436 authored and prahaladdarkin committed Nov 10, 2021
1 parent 0bb9c05 commit 8928342
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ services:
options:
syslog-address: "tcp://127.0.0.1:1514"
tag: "postgresql"
shm_size: '1gb'
{% endif %}
core:
image: goharbor/harbor-core:{{version}}
Expand Down

0 comments on commit 8928342

Please sign in to comment.