# Upstream parameters for a GitLab instance # # Selected parameters - main ones - names and advanced defaults taken from omnibus-gitlab # https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template # https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/attributes/default.rb # # TODO better autogenerate from ^^^ (?) # # (last updated for omnibus-gitlab 8.2.3+ce.0-0-g8eda093) [gitlab-parameters] configuration.external_url = http://lab.example.com # db advanced configuration.db_pool = 10 # rack-attack configuration.rate_limit_requests_per_period = 10 configuration.rate_limit_period = 60 configuration.time_zone = UTC configuration.email_enabled = true configuration.email_from = lab@example.com configuration.email_display_name = GitLab configuration.email_reply_to = noreply@example.com configuration.smtp_enable = true configuration.smtp_address = smtp.server configuration.smtp_port = 465 configuration.smtp_user_name = smtp user configuration.smtp_password = smtp password configuration.smtp_domain = lab.example.com configuration.smtp_authentication = login configuration.smtp_enable_starttls_auto = true # none | peer | client_once | fail_if_no_peer_cert -> see gitlab-omnibus links at top configuration.smtp_openssl_verify_mode = peer configuration.default_can_create_group = true configuration.username_changing_enabled = true configuration.default_theme = 2 configuration.default_projects_features.issues = true configuration.default_projects_features.merge_requests = true configuration.default_projects_features.wiki = true configuration.default_projects_features.snippets = true # NOTE can be public|private|internal configuration.default_projects_features.visibility_level= public #configuration.default_projects_features.builds = false configuration.webhook_timeout = 10 # 0 means forever (seconds) configuration.backup_keep_time = 0 # NOTE empty = default gitlab limits configuration.git_max_size = configuration.git_timeout = # unicorn configuration.unicorn_worker_timeout = 60 configuration.unicorn_worker_processes = 2 # unicorn advanced configuration.unicorn_backlog_socket = 1024 configuration.unicorn_worker_memory_limit_min = 200*(1024**2) configuration.unicorn_worker_memory_limit_max = 250*(1024**2)