diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-27 09:08:49 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-27 09:08:49 +0000 |
commit | c31a6781a356297f77dd87af4826ead582bbcb34 (patch) | |
tree | 2ccf6255b1256de2e13db781b1cd09b07c2d79f9 /doc/administration/postgresql/multiple_databases.md | |
parent | 8ebab6079e4d9c834435e8241cada4122d32673f (diff) | |
download | gitlab-ce-c31a6781a356297f77dd87af4826ead582bbcb34.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/postgresql/multiple_databases.md')
-rw-r--r-- | doc/administration/postgresql/multiple_databases.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/administration/postgresql/multiple_databases.md b/doc/administration/postgresql/multiple_databases.md index 25f148dbe84..836736fb73f 100644 --- a/doc/administration/postgresql/multiple_databases.md +++ b/doc/administration/postgresql/multiple_databases.md @@ -67,6 +67,9 @@ the other way around. 1. Save the `config/database.yml` file. +1. Update the service files to set the `GITLAB_ALLOW_SEPARATE_CI_DATABASE` + environment variable to `true`. + 1. Create the `gitlabhq_production_ci` database: ```shell @@ -100,6 +103,7 @@ the other way around. 1. Edit `/etc/gitlab/gitlab.rb` and add the following lines: ```ruby + gitlab_rails['env'] = { 'GITLAB_ALLOW_SEPARATE_CI_DATABASE' => 'true' } gitlab_rails['databases']['ci']['enable'] = true gitlab_rails['databases']['ci']['db_database'] = 'gitlabhq_production_ci' ``` |