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:
Diffstat (limited to 'config/database.yml.decomposed-clusterwide-postgresql')
-rw-r--r--config/database.yml.decomposed-clusterwide-postgresql86
1 files changed, 86 insertions, 0 deletions
diff --git a/config/database.yml.decomposed-clusterwide-postgresql b/config/database.yml.decomposed-clusterwide-postgresql
new file mode 100644
index 00000000000..6439788524e
--- /dev/null
+++ b/config/database.yml.decomposed-clusterwide-postgresql
@@ -0,0 +1,86 @@
+# Defaults
+
+defaults: &defaults
+ adapter: postgresql
+ encoding: unicode
+ host: localhost
+ username: git
+ password: "secure password"
+
+#
+# PRODUCTION
+#
+production:
+ main: &main
+ <<: *defaults
+ database: gitlabhq_production
+ ci:
+ <<: *defaults
+ database: gitlabhq_production_ci
+ main_clusterwide:
+ <: *main
+ database_tasks: false
+ geo:
+ <<: *defaults
+ database: gitlabhq_geo_production
+
+#
+# Development specific
+#
+development:
+ main: &main
+ <<: *defaults
+ database: gitlabhq_development
+ username: postgres
+ variables:
+ statement_timeout: 15s
+ ci:
+ <<: *defaults
+ database: gitlabhq_development_ci
+ username: postgres
+ variables:
+ statement_timeout: 15s
+ main_clusterwide:
+ <<: *main
+ database_tasks: false
+ variables:
+ statement_timeout: 15s
+ geo:
+ <<: *defaults
+ database: gitlabhq_geo_development
+ username: postgres
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ main: &main
+ <<: *defaults
+ database: gitlabhq_test
+ username: postgres
+ password:
+ prepared_statements: false
+ variables:
+ statement_timeout: 15s
+ ci:
+ <<: *defaults
+ database: gitlabhq_test_ci
+ username: postgres
+ password:
+ prepared_statements: false
+ variables:
+ statement_timeout: 15s
+ main_clusterwide:
+ <<: *main
+ database_tasks: false
+ geo:
+ <<: *defaults
+ database: gitlabhq_geo_test
+ username: postgres
+ password:
+ embedding:
+ <<: *defaults
+ database: gitlabhq_embedding_test
+ username: postgres
+ password:
+