Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-06-13 15:03:37 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2019-06-19 15:14:39 +0300
commit0cab88ef72fe2c41cb2f1df2f619741e335887a0 (patch)
treedceb222a3d405bfd9631d2d2cf32882e7e50e552 /config/database.yml.postgresql
parent5740dccd126423b9277818fced559884ef9fed4d (diff)
Backport EE YAML settings for PostgreSQL
Diffstat (limited to 'config/database.yml.postgresql')
-rw-r--r--config/database.yml.postgresql9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/database.yml.postgresql b/config/database.yml.postgresql
index baded682e46..5b3b35c9226 100644
--- a/config/database.yml.postgresql
+++ b/config/database.yml.postgresql
@@ -9,6 +9,15 @@ production:
username: git
password: "secure password"
host: localhost
+ # load_balancing:
+ # hosts:
+ # - host1.example.com
+ # - host2.example.com
+ # discover:
+ # nameserver: 1.2.3.4
+ # port: 8600
+ # record: secondary.postgresql.service.consul
+ # interval: 300
#
# Development specific