diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/credentials/production.yml.enc | 1 | ||||
-rw-r--r-- | config/database.yml | 10 |
2 files changed, 9 insertions, 2 deletions
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: | |||
21 | database: storage/test.sqlite3 | 21 | database: storage/test.sqlite3 |
22 | 22 | ||
23 | production: | 23 | production: |
24 | <<: *default | 24 | adapter: mysql2 |
25 | database: storage/production.sqlite3 | 25 | encoding: utf8mb4 |
26 | database: pokeviewer | ||
27 | pool: 5 | ||
28 | username: pokeviewer | ||
29 | password: <%= Rails.application.credentials.database_password %> | ||
30 | collation: utf8mb4_bin | ||
31 | socket: /var/run/mysqld/mysqld.sock | ||