When I deploy the Rails application with OpsWorks, a new database.yml directory is created in the shared directory. It ignores the existing database.yml (which rightfully should not be in the repo), and I also tried to specify custom JSON, but nothing works. Maybe I have the wrong structure?
{ "deploy": { "my-app-name": { "database": { "adapter": "mysql2", "encoding": "unicode", "host": "xxxxxx.rds.amazonaws.com", "port": "3306", "database": "db-name", "pool": "5", "username": "username", "password": "password" } } } }
manafire
source share