Add staging env to config files for now

This commit is contained in:
Paul Chavard 2018-08-23 17:45:52 +02:00
parent 2570672e53
commit 76cdb6c6f3
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