Merge pull request #93423 from helsinki-systems/feat/gitlab-redis-url

nixos/gitlab: Make redis URL configurable
This commit is contained in:
Florian Klink 2020-07-22 19:05:28 +02:00 committed by GitHub
commit 80c2d2e2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ let
};
};
redisConfig.production.url = "redis://localhost:6379/";
redisConfig.production.url = cfg.redisUrl;
gitlabConfig = {
# These are the default settings from config/gitlab.example.yml
@ -311,6 +311,12 @@ in {
description = "Extra configuration in config/database.yml.";
};
redisUrl = mkOption {
type = types.str;
default = "redis://localhost:6379/";
description = "Redis URL for all GitLab services except gitlab-shell";
};
extraGitlabRb = mkOption {
type = types.str;
default = "";