Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6b109357
Commit
6b109357
authored
May 29, 2018
by
Ben Bodenmiller
Committed by
Achilleas Pipinellis
May 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure UIDs and GIDs match for HA setup
parent
4af756e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
doc/administration/high_availability/gitlab.md
doc/administration/high_availability/gitlab.md
+10
-1
No files found.
doc/administration/high_availability/gitlab.md
View file @
6b109357
...
@@ -47,7 +47,8 @@ for each GitLab application server in your environment.
...
@@ -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
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`
data locations. See
[
NFS documentation
](
nfs.md
)
for
`/etc/gitlab/gitlab.rb`
configuration values for various scenarios. The example below assumes you've
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
```ruby
external_url 'https://gitlab.example.com'
external_url 'https://gitlab.example.com'
...
@@ -68,6 +69,14 @@ for each GitLab application server in your environment.
...
@@ -68,6 +69,14 @@ for each GitLab application server in your environment.
gitlab_rails['redis_port'] = '6379'
gitlab_rails['redis_port'] = '6379'
gitlab_rails['redis_host'] = '10.1.0.6' # IP/hostname of Redis server
gitlab_rails['redis_host'] = '10.1.0.6' # IP/hostname of Redis server
gitlab_rails['redis_password'] = 'Redis Password'
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`
> **Note:** To maintain uniformity of links across HA clusters, the `external_url`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment