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
94522dbb
Commit
94522dbb
authored
Mar 22, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about setting up database_geo.yml and use geo:db:migrate
[ci skip]
parent
6c7dd3d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
doc/gitlab-geo/updating_the_geo_nodes.md
doc/gitlab-geo/updating_the_geo_nodes.md
+19
-1
No files found.
doc/gitlab-geo/updating_the_geo_nodes.md
View file @
94522dbb
...
...
@@ -188,10 +188,28 @@ the clocks must be synchronized to within 60 seconds of each other.
sudo gitlab-ctl reconfigure
```
1.
Edit the content of
`database_geo.yml`
in
`production:`
like the example below:
```
yaml
#
# PRODUCTION
#
production
:
adapter
:
postgresql
encoding
:
unicode
database
:
gitlabhq_geo_production
pool
:
10
username
:
gitlab_geo
# password:
host
:
/var/opt/gitlab/geo-postgresql
port
:
5431
```
1.
Set up the Geo tracking database:
```
sudo gitlab-rake geo:db:
setup
sudo gitlab-rake geo:db:
migrate
```
[
update
]:
../update/README.md
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