debian-mirror-gitlab/config
2023-07-09 08:55:56 +05:30
..
audit_events/types New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
environments New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
events New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
feature_flags New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
helpers New upstream version 15.4.2+ds1 2022-10-11 01:57:18 +05:30
initializers New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
initializers_before_autoloader New upstream version 15.10.7+ds1 2023-05-27 22:25:52 +05:30
knative New upstream version 12.6.1 2020-01-01 13:55:28 +05:30
locales New upstream version 15.11.6+ds1 2023-06-20 00:43:36 +05:30
metrics New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
plugins New upstream version 15.11.6+ds1 2023-06-20 00:43:36 +05:30
prometheus New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
routes New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
security New upstream version 15.8.4+ds1 2023-03-17 16:20:25 +05:30
vue3migration New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
apollo.config.js New upstream version 14.6.3+ds1 2022-01-26 12:08:38 +05:30
application.rb New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
boot.rb New upstream version 14.5.2+ds1 2021-12-11 22:18:48 +05:30
bullet.yml New upstream version 13.11.2+ds1 2021-04-29 21:17:54 +05:30
bundler_setup.rb New upstream version 14.3.4+ds1 2021-11-11 11:23:49 +05:30
cable.yml.example New upstream version 13.0.0 2020-05-25 16:23:42 +05:30
database.yml.decomposed-postgresql New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
database.yml.postgresql New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
dependency_decisions.yml New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
environment.rb New upstream version 13.9.3+ds1 2021-03-11 19:13:27 +05:30
feature_categories.yml New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
gitlab.yml.example New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
gitlab_loose_foreign_keys.yml New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
gitleaks.toml New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
known_invalid_graphql_queries.yml New upstream version 14.5.2+ds1 2021-12-11 22:18:48 +05:30
license_finder.yml Imported Upstream version 8.9.0+debian~rc4 2016-06-16 23:09:34 +05:30
mail_room.yml New upstream version 15.8.4+ds1 2023-03-17 16:20:25 +05:30
object_store_settings.rb New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
open_api.yml New upstream version 15.7.8+ds1 2023-03-04 22:38:38 +05:30
puma.example.development.rb New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
puma.rb.example New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
README.md New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
resque.yml.example New upstream version 13.11.2+ds1 2021-04-29 21:17:54 +05:30
routes.rb New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
secrets.yml.example New upstream version 13.12.3+ds1 2021-06-08 01:23:25 +05:30
settings.rb New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
sidekiq.yml.example Imported Upstream version 8.8.2+dfsg 2016-06-02 11:05:42 +05:30
sidekiq_queues.yml New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
smime_signature_settings.rb New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
spring.rb New upstream version 15.9.2+ds1 2023-04-23 21:23:45 +05:30
storage.yml New upstream version 13.12.3+ds1 2021-06-08 01:23:25 +05:30
weak_password_digests.yml New upstream version 15.4.2+ds1 2022-10-11 01:57:18 +05:30
webpack.config.js New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30
webpack.vendor.config.js New upstream version 16.0.7+ds1 2023-07-09 08:55:56 +05:30

Configuration files Documentation

Note that most configuration files (config/*.*) committed into gitlab-foss will not be used for omnibus-gitlab. Configuration files committed into gitlab-foss are only used for development.

gitlab.yml

You can find most of the GitLab configuration settings here.

mail_room.yml

This file is actually an YML wrapped inside an ERB file to enable templated values to be specified from gitlab.yml. mail_room loads this file first as an ERB file and then loads the resulting YML as its configuration.

resque.yml

This file is called resque.yml for historical reasons. We are NOT using Resque at the moment. It is used to specify Redis configuration values when a single database instance of Redis is desired.

Advanced Redis configuration files

In more advanced configurations of Redis key-value storage, it is desirable to separate the keys by lifecycle and intended use to ease provisioning and management of scalable Redis clusters.

These settings provide routing and other configuration data (such as sentinel, persistence policies, and other Redis customization) for connections to Redis single instances, Redis sentinel, and Redis clusters.

If desired, the routing URL provided by these settings can be used with:

  1. Unix Socket
    1. named socket for each Redis instance desired.
    2. database number for each Redis instance desired.
  2. TCP Socket
    1. host name or IP for each Redis instance desired
    2. TCP port number for each Redis instance desired
    3. database number for each Redis instance desired

Example URL attribute formats for GitLab Redis .yml configuration files

  • Unix Socket, default Redis database (0)
    • url: unix:/path/to/redis.sock
    • url: unix:/path/to/redis.sock?db=
  • Unix Socket, Redis database 44
    • url: unix:/path/to/redis.sock?db=44
    • url: unix:/path/to/redis.sock?extra=foo&db=44
  • TCP Socket for Redis on localhost, port 6379, database 33
    • url: redis://:mynewpassword@localhost:6379/33
  • TCP Socket for Redis on remote host myserver, port 6379, database 33
    • url: redis://:mynewpassword@myserver:6379/33

Available configuration files

The Redis instances that can be configured are described in the table below. The order of precedence for configuration is described below, where $NAME and $FALLBACK_NAME are the upper-cased instance names from the table, and $name and $fallback_name are the lower-cased versions:

  1. The configuration file redis.$name.yml.
  2. If a fallback instance is available, the configuration file redis.$fallback_name.yml.
  3. The configuration file resque.yml.

An example configuration file for Redis is in this directory under the name resque.yml.example.

Name Fallback instance Purpose
cache Volatile non-persistent data
queues Background job processing queues
shared_state Persistent application state
trace_chunks shared_state CI trace chunks
rate_limiting cache Rate limiting state
sessions shared_state Sessions
repository_cache cache Repository related information
db_load_balancing shared_state Database Load Balancing

If no configuration is found, or no URL is found in the configuration file, the default URL used is redis://localhost:6379 for all Redis instances.