Set 'staging specific' in database.yml.mysql
This commit is contained in:
parent
b3f749036e
commit
ac3713e947
1 changed files with 18 additions and 3 deletions
|
@ -10,7 +10,7 @@ production:
|
||||||
pool: 10
|
pool: 10
|
||||||
username: git
|
username: git
|
||||||
password: "secure password"
|
password: "secure password"
|
||||||
# host: localhost
|
host: localhost
|
||||||
# socket: /tmp/mysql.sock
|
# socket: /tmp/mysql.sock
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -25,7 +25,22 @@ development:
|
||||||
pool: 5
|
pool: 5
|
||||||
username: root
|
username: root
|
||||||
password: "secure password"
|
password: "secure password"
|
||||||
# host: localhost
|
host: localhost
|
||||||
|
# socket: /tmp/mysql.sock
|
||||||
|
|
||||||
|
#
|
||||||
|
# Staging specific
|
||||||
|
#
|
||||||
|
staging:
|
||||||
|
adapter: mysql2
|
||||||
|
encoding: utf8
|
||||||
|
collation: utf8_general_ci
|
||||||
|
reconnect: false
|
||||||
|
database: gitlabhq_staging
|
||||||
|
pool: 10
|
||||||
|
username: git
|
||||||
|
password: "secure password"
|
||||||
|
host: localhost
|
||||||
# socket: /tmp/mysql.sock
|
# socket: /tmp/mysql.sock
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
# Warning: The database defined as "test" will be erased and
|
||||||
|
@ -40,6 +55,6 @@ test: &test
|
||||||
pool: 5
|
pool: 5
|
||||||
username: root
|
username: root
|
||||||
password:
|
password:
|
||||||
# host: localhost
|
host: localhost
|
||||||
# socket: /tmp/mysql.sock
|
# socket: /tmp/mysql.sock
|
||||||
prepared_statements: false
|
prepared_statements: false
|
||||||
|
|
Loading…
Reference in a new issue