summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-03-27 00:13:09 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-10-17 21:15:01 +0300
commit209e656e43d905094f6db3f9ef206649f3cd7ea2 (patch)
tree50fa601616dccc7d834b00494dc3fec4c6c1aa94
parentac3713e94784d56e3e860eda4dbced2a11bb2418 (diff)
downloadgitlab-ce-209e656e43d905094f6db3f9ef206649f3cd7ea2.tar.gz
Update database.yml.postgresql
host is omitted by default
-rw-r--r--config/database.yml.postgresql21
1 files changed, 10 insertions, 11 deletions
diff --git a/config/database.yml.postgresql b/config/database.yml.postgresql
index 4b30982fe82..baded682e46 100644
--- a/config/database.yml.postgresql
+++ b/config/database.yml.postgresql
@@ -6,10 +6,9 @@ production:
encoding: unicode
database: gitlabhq_production
pool: 10
- # username: git
- # password:
- # host: localhost
- # port: 5432
+ username: git
+ password: "secure password"
+ host: localhost
#
# Development specific
@@ -20,8 +19,8 @@ development:
database: gitlabhq_development
pool: 5
username: postgres
- password:
- # host: localhost
+ password: "secure password"
+ host: localhost
#
# Staging specific
@@ -30,10 +29,10 @@ staging:
adapter: postgresql
encoding: unicode
database: gitlabhq_staging
- pool: 5
- username: postgres
- password:
- # host: localhost
+ pool: 10
+ username: git
+ password: "secure password"
+ host: localhost
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
@@ -45,5 +44,5 @@ test: &test
pool: 5
username: postgres
password:
- # host: localhost
+ host: localhost
prepared_statements: false