From 9e4d39c0513fc91fc2c844d482e82a8e9df8927d Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij Date: Wed, 3 Dec 2014 12:41:47 +0100 Subject: Move commands to the readme, rename gitlab to gitlab_app, add PostgreSQL tweaks to gitlab.rb. --- docker/gitlab.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docker/gitlab.rb') 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' -- cgit v1.2.1