set shm size of postgres

Fixed #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>
This commit is contained in:
Wang Yan 2021-06-02 18:12:45 +08:00
parent c4f4e6e7e1
commit eec9893918

View File

@ -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}}