mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-21 10:36:04 +10:00
Update databases.md
This commit is contained in:
@@ -38,10 +38,10 @@ GitLab supports the following databases:
|
||||
sudo -u postgres psql -d template1
|
||||
|
||||
# Create a user for GitLab. (change $password to a real password)
|
||||
template1=# CREATE USER gitlab WITH PASSWORD '$password';
|
||||
template1=# CREATE USER git WITH PASSWORD '$password';
|
||||
|
||||
# Create the GitLab production database & grant all privileges on database
|
||||
template1=# CREATE DATABASE gitlabhq_production OWNER gitlab;
|
||||
template1=# CREATE DATABASE gitlabhq_production OWNER git;
|
||||
|
||||
# Quit the database session
|
||||
template1=# \q
|
||||
|
||||
Reference in New Issue
Block a user