From f4c784443ebcda165367c07153bd1ea615cd6885 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 12:15:19 -0500 Subject: Configured production database --- config/credentials/production.yml.enc | 1 + config/database.yml | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 config/credentials/production.yml.enc (limited to 'config') diff --git a/config/credentials/production.yml.enc b/config/credentials/production.yml.enc new file mode 100644 index 0000000..1a23841 --- /dev/null +++ b/config/credentials/production.yml.enc @@ -0,0 +1 @@ +36aFPYK5AHgjGYB6U/N1g9C8MEPeVSZxgfKTktrCeRq1lT1D86uri8os164vJenptdR1w24a914DRwU3UjFfv6u9lHOb3fe5ebwCcmJPVyNLq/IL3Qus2nEnnYXUBlAURqgt0Cjqxb672Sq1zIZFYGUWIl12RYOcaetnMoOoENb2CA7T/qgoQ46WyUGL9zQ09bvebBm+qCtYeYTEPAFwa4T2EofBfeNJ2RmtV8vJvbYY9kQaNWhQrUoLIHERfpRT1sUKuFJ9ub37EmydqkJX6TwDznOvH1vUDD4O+v6KvB9cEQ65Xx3eZ0Tfp7WiEkX/KolU4H6FQBHFSyNbrDZtE8vIC6KmRS8/7xbpIk3wh7hmvQbzT+L1j5afA1UY0/lsMByBqm42XwB9pFRuNxj19fQq3IHeIdGP1h+kHn0xaMQBWPVT3MrEQc1zg6KsZov/jCXSDfXTVNXT+kCvAA==--nmX853iaXA8kWASv--hHsVVKm2lDHhDLsDToiZ2Q== \ No newline at end of file diff --git a/config/database.yml b/config/database.yml index 796466b..744efc6 100644 --- a/config/database.yml +++ b/config/database.yml @@ -21,5 +21,11 @@ test: database: storage/test.sqlite3 production: - <<: *default - database: storage/production.sqlite3 + adapter: mysql2 + encoding: utf8mb4 + database: pokeviewer + pool: 5 + username: pokeviewer + password: <%= Rails.application.credentials.database_password %> + collation: utf8mb4_bin + socket: /var/run/mysqld/mysqld.sock -- cgit 1.4.1