commit
5f159d4bc0
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ production:
|
||||||
encoding: unicode
|
encoding: unicode
|
||||||
database: gitlabhq_production
|
database: gitlabhq_production
|
||||||
pool: 5
|
pool: 5
|
||||||
username: gitlab
|
username: git
|
||||||
password:
|
password:
|
||||||
# host: localhost
|
# host: localhost
|
||||||
# port: 5432
|
# port: 5432
|
||||||
|
|
|
@ -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 gitlab 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 gitlab;
|
template1=# CREATE DATABASE gitlabhq_production OWNER git;
|
||||||
|
|
||||||
# Quit the database session
|
# Quit the database session
|
||||||
template1=# \q
|
template1=# \q
|
||||||
|
|
Loading…
Reference in a new issue