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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
64edaeb0
Commit
64edaeb0
authored
Jan 05, 2018
by
James Ramsay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken alignment of geo db docs
parent
3e37a981
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
14 deletions
+19
-14
changelogs/unreleased-ee/jramsay-fix-alignment-geo-docs.yml
changelogs/unreleased-ee/jramsay-fix-alignment-geo-docs.yml
+5
-0
doc/gitlab-geo/database.md
doc/gitlab-geo/database.md
+14
-14
No files found.
changelogs/unreleased-ee/jramsay-fix-alignment-geo-docs.yml
0 → 100644
View file @
64edaeb0
---
title
:
Fix broken alignment of database password in geo docs
merge_request
:
3939
author
:
type
:
other
doc/gitlab-geo/database.md
View file @
64edaeb0
...
...
@@ -70,24 +70,24 @@ The following guide assumes that:
1.
Make sure your the
`gitlab`
database user has a password defined
Generate a MD5 hash of the desired password:
Generate a MD5 hash of the desired password:
```
bash
gitlab-ctl pg-password-md5 gitlab
# Enter password: mypassword
# Confirm password: mypassword
# fca0b89a972d69f00eb3ec98a5838484
```
```
bash
gitlab-ctl pg-password-md5 gitlab
# Enter password: mypassword
# Confirm password: mypassword
# fca0b89a972d69f00eb3ec98a5838484
```
Edit
`/etc/gitlab/gitlab.rb`
:
Edit
`/etc/gitlab/gitlab.rb`
:
```
ruby
# Fill with the hash generated by `gitlab-ctl pg-password-md5 gitlab`
postgresql
[
'sql_user_password'
]
=
'fca0b89a972d69f00eb3ec98a5838484'
```
ruby
# Fill with the hash generated by `gitlab-ctl pg-password-md5 gitlab`
postgresql
[
'sql_user_password'
]
=
'fca0b89a972d69f00eb3ec98a5838484'
# If you have HA setup, this must be present in all nodes as well
gitlab_rails
[
'db_password'
]
=
'mypassword'
```
# If you have HA setup, this must be present in all nodes as well
gitlab_rails
[
'db_password'
]
=
'mypassword'
```
1.
Omnibus GitLab already has a
[
replication user
](
https://wiki.postgresql.org/wiki/Streaming_Replication
)
called
`gitlab_replicator`
. You must set the password for this user manually.
...
...
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