diff options
author | Sytse Sijbrandij <sytses@gmail.com> | 2014-12-03 12:41:47 +0100 |
---|---|---|
committer | Sytse Sijbrandij <sytses@gmail.com> | 2014-12-03 12:41:47 +0100 |
commit | 9e4d39c0513fc91fc2c844d482e82a8e9df8927d (patch) | |
tree | 0bb0120a4f45b2cf6347377fd0b94664501f910b /docker/gitlab.rb | |
parent | ed7760b1d7b58d07793437db78f960ed7c4ae182 (diff) | |
download | gitlab-ce-9e4d39c0513fc91fc2c844d482e82a8e9df8927d.tar.gz |
Move commands to the readme, rename gitlab to gitlab_app, add PostgreSQL tweaks to gitlab.rb.
Diffstat (limited to 'docker/gitlab.rb')
-rw-r--r-- | docker/gitlab.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/gitlab.rb b/docker/gitlab.rb index da909db01f8..7fddf309c01 100644 --- a/docker/gitlab.rb +++ b/docker/gitlab.rb @@ -4,6 +4,12 @@ # even if you intend to use another port in Docker. external_url "http://192.168.59.103/" +# Prevent Postgres from trying to allocate 25% of total memory +postgresql['shared_buffers'] = '1MB' + +# Configure GitLab to redirect PostgreSQL logs to the data volume +postgresql['log_directory'] = '/var/log/gitlab/postgresql' + # Some configuration of GitLab # You can find more at https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#configuration gitlab_rails['gitlab_email_from'] = 'gitlab@example.com' |