|
| 1 | +# HINT: This file is identical to the corresponding configuration file from the |
| 2 | +# upstream repository, where the additional defined entries for `geo` had to be |
| 3 | +# removed. Otherwise, it is not possible to build the image, since the build |
| 4 | +# will fail with the error message: |
| 5 | +# |
| 6 | +# > rake aborted! |
| 7 | +# > ERROR: This installation of GitLab uses unsupported database names in 'config/database.yml': geo. The only supported ones are main, ci. |
| 8 | +# |
| 9 | +# This adjustment is hopefully only a temporary workaround (see |
| 10 | +# <https://github.com/sameersbn/docker-gitlab/pull/2596>). |
| 11 | + |
| 12 | +# |
| 13 | +# PRODUCTION |
| 14 | +# |
| 15 | +production: |
| 16 | + main: |
| 17 | + adapter: postgresql |
| 18 | + encoding: unicode |
| 19 | + database: gitlabhq_production |
| 20 | + username: git |
| 21 | + password: "secure password" |
| 22 | + host: localhost |
| 23 | + # load_balancing: |
| 24 | + # hosts: |
| 25 | + # - host1.example.com |
| 26 | + # - host2.example.com |
| 27 | + # discover: |
| 28 | + # nameserver: 1.2.3.4 |
| 29 | + # port: 8600 |
| 30 | + # record: secondary.postgresql.service.consul |
| 31 | + # interval: 300 |
| 32 | +# geo: |
| 33 | +# adapter: postgresql |
| 34 | +# encoding: unicode |
| 35 | +# database: gitlabhq_geo_production |
| 36 | +# username: git |
| 37 | +# password: "secure password" |
| 38 | +# host: localhost |
| 39 | + |
| 40 | +# |
| 41 | +# Development specific |
| 42 | +# |
| 43 | +development: |
| 44 | + main: |
| 45 | + adapter: postgresql |
| 46 | + encoding: unicode |
| 47 | + database: gitlabhq_development |
| 48 | + username: postgres |
| 49 | + password: "secure password" |
| 50 | + host: localhost |
| 51 | + variables: |
| 52 | + statement_timeout: 15s |
| 53 | +# geo: |
| 54 | +# adapter: postgresql |
| 55 | +# encoding: unicode |
| 56 | +# database: gitlabhq_geo_development |
| 57 | +# username: postgres |
| 58 | +# password: "secure password" |
| 59 | +# host: localhost |
| 60 | + |
| 61 | +# |
| 62 | +# Staging specific |
| 63 | +# |
| 64 | +staging: |
| 65 | + main: |
| 66 | + adapter: postgresql |
| 67 | + encoding: unicode |
| 68 | + database: gitlabhq_staging |
| 69 | + username: git |
| 70 | + password: "secure password" |
| 71 | + host: localhost |
| 72 | +# geo: |
| 73 | +# adapter: postgresql |
| 74 | +# encoding: unicode |
| 75 | +# database: gitlabhq_geo_staging |
| 76 | +# username: git |
| 77 | +# password: "secure password" |
| 78 | +# host: localhost |
| 79 | + |
| 80 | +# Warning: The database defined as "test" will be erased and |
| 81 | +# re-generated from your development database when you run "rake". |
| 82 | +# Do not set this db to the same as development or production. |
| 83 | +test: &test |
| 84 | + main: |
| 85 | + adapter: postgresql |
| 86 | + encoding: unicode |
| 87 | + database: gitlabhq_test |
| 88 | + username: postgres |
| 89 | + password: |
| 90 | + host: localhost |
| 91 | + prepared_statements: false |
| 92 | + variables: |
| 93 | + statement_timeout: 15s |
| 94 | +# geo: |
| 95 | +# adapter: postgresql |
| 96 | +# encoding: unicode |
| 97 | +# database: gitlabhq_geo_test |
| 98 | +# username: postgres |
| 99 | +# password: |
| 100 | +# host: localhost |
0 commit comments