This repository was archived by the owner on May 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ production:
66 encoding: unicode
77 database: gitlab_ci_production
88 pool: 5
9- username: postgres
9+ username: gitlab_ci
1010 password:
1111 # host: localhost
1212 # port: 5432
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ You can use either MySQL or PostgreSQL.
7676 # Login to PostgreSQL
7777 sudo -u postgres psql -d template1
7878
79- # Create a user for GitLab. (change $password to a real password)
80- template1=# CREATE USER gitlab_ci WITH PASSWORD '$password' ;
79+ # Create a user for GitLab. We do not specify a password because we are using peer authentication.
80+ template1=# CREATE USER gitlab_ci;
8181
8282 # Create the GitLab production database & grant all privileges on database
8383 template1=# CREATE DATABASE gitlab_ci_production OWNER gitlab_ci;
@@ -129,8 +129,8 @@ You can use either MySQL or PostgreSQL.
129129
130130 # postgres
131131 sudo -u gitlab_ci -H cp config/database.yml.postgresql config/database.yml
132-
133- # Edit user/password
132+
133+ # Edit user/password (not necessary with default Postgres setup)
134134 sudo -u gitlab_ci -H editor config/database.yml
135135
136136 # Setup tables
You can’t perform that action at this time.
0 commit comments