Example configuration files
- Tier: Free, Premium, Ultimate
- Offering: GitLab Self-Managed
Gitaly and Gitaly Cluster are configured by using configuration files. The default location of the configuration files depends on the type of installation you have:
- For Linux package installations, the default location for Gitaly and Gitaly Cluster configuration is in the
/etc/gitlab/gitlab.rb
Ruby file. - For self-compiled, the default location for Gitaly and Gitaly Cluster configuration is in the
/home/git/gitaly/config.toml
and/home/git/gitaly/config.prafect.toml
TOML files.
You can find example TOML configuration files in the gitaly
project for:
- Gitaly: https://gitlab.com/gitlab-org/gitaly/-/blob/master/config.toml.example
- Gitaly Cluster: https://gitlab.com/gitlab-org/gitaly/-/blob/master/config.praefect.toml.example
If you are configuring a Linux package installation, you must convert the examples into Ruby to use them.
For more information on:
- Configuring Gitaly, see Configure Gitaly.
- Configuring Gitaly Cluster, see Configure Gitaly Cluster.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support