Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit 579bf1a

Browse files
author
Vincent Robert
committed
Fix a memory problem with PostgreSQL on some Docker configurations
1 parent 50965db commit 579bf1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gitlab.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# even if you intend to use another port in Docker.
55
external_url "http://192.168.59.103/"
66

7+
# PosgreSQL will try to allocate 25% of all memory
8+
# which might not work well in some Docker configurations
9+
postgresql['shared_buffers'] = "1MB"
10+
711
# Some configuration of GitLab
812
# You can find more at https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#configuration
913
gitlab_rails['gitlab_email_from'] = 'gitlab@example.com'

0 commit comments

Comments
 (0)