mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Add new configuration options for database.yml
This commit is contained in:
parent
be00b11ea2
commit
5fc732eb3c
@ -29,6 +29,14 @@ production:
|
||||
# port: 8600
|
||||
# record: secondary.postgresql.service.consul
|
||||
# interval: 300
|
||||
ci:
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: gitlabhq_production
|
||||
database_tasks: false
|
||||
username: git
|
||||
password: "secure password"
|
||||
host: localhost
|
||||
# geo:
|
||||
# adapter: postgresql
|
||||
# encoding: unicode
|
||||
@ -50,6 +58,16 @@ development:
|
||||
host: localhost
|
||||
variables:
|
||||
statement_timeout: 15s
|
||||
ci:
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: gitlabhq_development
|
||||
database_tasks: false
|
||||
username: postgres
|
||||
password: "secure password"
|
||||
host: localhost
|
||||
variables:
|
||||
statement_timeout: 15s
|
||||
# geo:
|
||||
# adapter: postgresql
|
||||
# encoding: unicode
|
||||
@ -69,6 +87,14 @@ staging:
|
||||
username: git
|
||||
password: "secure password"
|
||||
host: localhost
|
||||
ci:
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: gitlabhq_staging
|
||||
database_tasks: false
|
||||
username: git
|
||||
password: "secure password"
|
||||
host: localhost
|
||||
# geo:
|
||||
# adapter: postgresql
|
||||
# encoding: unicode
|
||||
@ -91,6 +117,17 @@ test: &test
|
||||
prepared_statements: false
|
||||
variables:
|
||||
statement_timeout: 15s
|
||||
ci:
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
database: gitlabhq_test
|
||||
database_tasks: false
|
||||
username: postgres
|
||||
password:
|
||||
host: localhost
|
||||
prepared_statements: false
|
||||
variables:
|
||||
statement_timeout: 15s
|
||||
# geo:
|
||||
# adapter: postgresql
|
||||
# encoding: unicode
|
||||
@ -98,3 +135,10 @@ test: &test
|
||||
# username: postgres
|
||||
# password:
|
||||
# host: localhost
|
||||
# embedding:
|
||||
# adapter: postgresql
|
||||
# encoding: unicode
|
||||
# database: gitlabhq_embedding_test
|
||||
# username: postgres
|
||||
# password:
|
||||
# host: localhost
|
||||
|
||||
@ -12,4 +12,12 @@ production:
|
||||
password: "{{DB_PASS}}"
|
||||
pool: {{DB_POOL}}
|
||||
prepared_statements: {{DB_PREPARED_STATEMENTS}}
|
||||
|
||||
ci:
|
||||
adapter: postgresql
|
||||
encoding: {{DB_ENCODING}}
|
||||
database: {{DB_NAME}}
|
||||
database_tasks: false
|
||||
host: {{DB_HOST}}
|
||||
port: {{DB_PORT}}
|
||||
username: {{DB_USER}}
|
||||
password: "{{DB_PASS}}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user