diff options
author | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2018-05-29 12:28:52 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-05-29 12:28:52 +0000 |
commit | 6b109357b1c913298fef26e9801e5cc006794fbb (patch) | |
tree | c41aba2c393df1e836dfc8a8bc31148e7e5a9862 /doc | |
parent | 4af756e5269ae3975add615ddf286447258cf583 (diff) | |
download | gitlab-ce-6b109357b1c913298fef26e9801e5cc006794fbb.tar.gz |
ensure UIDs and GIDs match for HA setup
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/high_availability/gitlab.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/administration/high_availability/gitlab.md b/doc/administration/high_availability/gitlab.md index b0348d1db10..0d9c10687f2 100644 --- a/doc/administration/high_availability/gitlab.md +++ b/doc/administration/high_availability/gitlab.md @@ -47,7 +47,8 @@ for each GitLab application server in your environment. URL. Depending your the NFS configuration, you may need to change some GitLab data locations. See [NFS documentation](nfs.md) for `/etc/gitlab/gitlab.rb` configuration values for various scenarios. The example below assumes you've - added NFS mounts in the default data locations. + added NFS mounts in the default data locations. Additionally the UID and GIDs + given are just examples and you should configure with your preferred values. ```ruby external_url 'https://gitlab.example.com' @@ -68,6 +69,14 @@ for each GitLab application server in your environment. gitlab_rails['redis_port'] = '6379' gitlab_rails['redis_host'] = '10.1.0.6' # IP/hostname of Redis server gitlab_rails['redis_password'] = 'Redis Password' + + # Ensure UIDs and GIDs match between servers for permissions via NFS + user['uid'] = 9000 + user['gid'] = 9000 + web_server['uid'] = 9001 + web_server['gid'] = 9001 + registry['uid'] = 9002 + registry['gid'] = 9002 ``` > **Note:** To maintain uniformity of links across HA clusters, the `external_url` |