From 8fb6e82c5e8beab829ad14a87d02e3ff0e6743f9 Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 3 Aug 2023 18:07:27 -0700 Subject: [PATCH] Add database.yml to git again We gitignored it a long time ago as the way to hide our db secrets, but that's not how we manage them anymore! (Or, well, we haven't done production deployment with this new setup yet, but you get the point.) This helps clarify what the database config oughta look like! --- config/.gitignore | 1 - config/database.yml | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) delete mode 100644 config/.gitignore create mode 100644 config/database.yml diff --git a/config/.gitignore b/config/.gitignore deleted file mode 100644 index b5649dd0..00000000 --- a/config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -database.yml diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 00000000..a56b950f --- /dev/null +++ b/config/database.yml @@ -0,0 +1,9 @@ +development: + adapter: mysql2 + database: openneo_impress + username: openneo_impress + password: openneo_impress + pool: 5 + +production: + url: <%= ENV['DATABASE_URL_PRIMARY'] %>