debian-mirror-gitlab/config/database.yml.postgresql

54 lines
1.1 KiB
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
#
# PRODUCTION
#
production:
adapter: postgresql
encoding: unicode
database: gitlabhq_production
2018-03-17 18:26:18 +05:30
username: git
password: "secure password"
host: localhost
2019-09-30 21:07:59 +05:30
# load_balancing:
# hosts:
# - host1.example.com
# - host2.example.com
# discover:
# nameserver: 1.2.3.4
# port: 8600
# record: secondary.postgresql.service.consul
# interval: 300
2014-09-02 18:07:02 +05:30
#
# Development specific
#
development:
adapter: postgresql
encoding: unicode
database: gitlabhq_development
username: postgres
2018-03-17 18:26:18 +05:30
password: "secure password"
host: localhost
2014-09-02 18:07:02 +05:30
#
# Staging specific
#
staging:
adapter: postgresql
encoding: unicode
database: gitlabhq_staging
2018-03-17 18:26:18 +05:30
username: git
password: "secure password"
host: localhost
2014-09-02 18:07:02 +05:30
# 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: &test
adapter: postgresql
encoding: unicode
database: gitlabhq_test
username: postgres
password:
2018-03-17 18:26:18 +05:30
host: localhost
2017-09-10 17:25:29 +05:30
prepared_statements: false