Commit bc329ba6346730f99190f51ded1f0b4d7242f987

Authored by Jacob Vosmaer
1 parent bd688cfa

Import database.yml template from gitlab

files/gitlab-cookbooks/gitlab/templates/default/database.yml.postgresql.erb 0 → 100644
... ... @@ -0,0 +1,49 @@
  1 +#
  2 +# PRODUCTION
  3 +#
  4 +production:
  5 + adapter: postgresql
  6 + encoding: unicode
  7 + database: gitlabhq_production
  8 + pool: 10
  9 + # username: git
  10 + # password:
  11 + # host: localhost
  12 + # port: 5432
  13 + # socket: /tmp/postgresql.sock
  14 +
  15 +#
  16 +# Development specific
  17 +#
  18 +development:
  19 + adapter: postgresql
  20 + encoding: unicode
  21 + database: gitlabhq_development
  22 + pool: 5
  23 + username: postgres
  24 + password:
  25 + # socket: /tmp/postgresql.sock
  26 +
  27 +#
  28 +# Staging specific
  29 +#
  30 +staging:
  31 + adapter: postgresql
  32 + encoding: unicode
  33 + database: gitlabhq_staging
  34 + pool: 5
  35 + username: postgres
  36 + password:
  37 + # socket: /tmp/postgresql.sock
  38 +
  39 +# Warning: The database defined as "test" will be erased and
  40 +# re-generated from your development database when you run "rake".
  41 +# Do not set this db to the same as development or production.
  42 +test: &test
  43 + adapter: postgresql
  44 + encoding: unicode
  45 + database: gitlabhq_test
  46 + pool: 5
  47 + username: postgres
  48 + password:
  49 + # socket: /tmp/postgresql.sock
... ...