Merge pull request #2450 from tchak/add-staging-to-secrets-and-database
Add staging env to config files for now
This commit is contained in:
commit
e81f224591
2 changed files with 10 additions and 2 deletions
|
@ -18,9 +18,13 @@ test:
|
||||||
username: tps_test
|
username: tps_test
|
||||||
password: tps_test
|
password: tps_test
|
||||||
|
|
||||||
production:
|
production: &production
|
||||||
<<: *default
|
<<: *default
|
||||||
database: <%= ENV["DB_DATABASE"] %>
|
database: <%= ENV["DB_DATABASE"] %>
|
||||||
host: <%= ENV["DB_HOST"] %>
|
host: <%= ENV["DB_HOST"] %>
|
||||||
username: <%= ENV["DB_USERNAME"] %>
|
username: <%= ENV["DB_USERNAME"] %>
|
||||||
password: <%= ENV["DB_PASSWORD"] %>
|
password: <%= ENV["DB_PASSWORD"] %>
|
||||||
|
|
||||||
|
# Alias for production
|
||||||
|
staging:
|
||||||
|
<<: *production
|
||||||
|
|
|
@ -74,5 +74,9 @@ test:
|
||||||
|
|
||||||
# Do not keep production secrets in the repository,
|
# Do not keep production secrets in the repository,
|
||||||
# instead read values from the environment.
|
# instead read values from the environment.
|
||||||
production:
|
production: &production
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
||||||
|
# Alias for production
|
||||||
|
staging:
|
||||||
|
<<: *production
|
||||||
|
|
Loading…
Reference in a new issue