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:
Paul Chavard 2018-08-23 16:02:06 +00:00 committed by GitHub
commit e81f224591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -18,9 +18,13 @@ test:
username: tps_test
password: tps_test
production:
production: &production
<<: *default
database: <%= ENV["DB_DATABASE"] %>
host: <%= ENV["DB_HOST"] %>
username: <%= ENV["DB_USERNAME"] %>
password: <%= ENV["DB_PASSWORD"] %>
# Alias for production
staging:
<<: *production

View file

@ -74,5 +74,9 @@ test:
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
production: &production
<<: *defaults
# Alias for production
staging:
<<: *production