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
Léo-Paul Géneau
gitlab-ce
Commits
5f159d4b
Commit
5f159d4b
authored
Mar 24, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3335 from zzet/patch-4
Update databases.md
parents
38ea3939
4cc27fd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config/database.yml.postgresql
config/database.yml.postgresql
+1
-1
doc/install/databases.md
doc/install/databases.md
+2
-2
No files found.
config/database.yml.postgresql
View file @
5f159d4b
...
@@ -6,7 +6,7 @@ production:
...
@@ -6,7 +6,7 @@ production:
encoding: unicode
encoding: unicode
database: gitlabhq_production
database: gitlabhq_production
pool: 5
pool: 5
username: git
lab
username: git
password:
password:
# host: localhost
# host: localhost
# port: 5432
# port: 5432
...
...
doc/install/databases.md
View file @
5f159d4b
...
@@ -38,10 +38,10 @@ GitLab supports the following databases:
...
@@ -38,10 +38,10 @@ GitLab supports the following databases:
sudo -u postgres psql -d template1
sudo -u postgres psql -d template1
# Create a user for GitLab. (change $password to a real password)
# Create a user for GitLab. (change $password to a real password)
template1=# CREATE USER git
lab
WITH PASSWORD '$password';
template1=# CREATE USER git WITH PASSWORD '$password';
# Create the GitLab production database & grant all privileges on database
# Create the GitLab production database & grant all privileges on database
template1=# CREATE DATABASE gitlabhq_production OWNER git
lab
;
template1=# CREATE DATABASE gitlabhq_production OWNER git;
# Quit the database session
# Quit the database session
template1=# \q
template1=# \q
...
...
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