aboutsummaryrefslogtreecommitdiff
path: root/config/database.yml
diff options
context:
space:
mode:
authorIN COMMON Collective <collective@incommon.cc>2021-03-26 15:24:16 +0100
committerIN COMMON Collective <collective@incommon.cc>2021-03-26 15:24:16 +0100
commit02283fe4979ad055a20131166628a32b3c152897 (patch)
treecaaa9cb10c6b661f9055b9361392d8cfad53176e /config/database.yml
parentc738e96b2b99bfd92b70d4cec26d6874a7f609e4 (diff)
downloadincommon-map-02283fe4979ad055a20131166628a32b3c152897.tar.gz
[DEV] WIP: explore sso login alternative
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
index 16ba3d2..9c7344e 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -68,6 +68,12 @@ test:
<<: *default
database: incommon_map_test
+staging:
+ <<: *default
+ database: incommon_map_staging
+ username: incommon
+ password: <%= ENV['INCOMMON_MAP_DATABASE_PASSWORD'] %>
+
# As with config/credentials.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is
# ever seen by anyone, they now have access to your database.