Manually managing database configuration
If your Rails/Rack application uses a MySQL, PostgreSQL or MongoDB instance that is managed by Cloud 66, then we will (by default) automatically amend your configuration files (specifically
database.yml) to ensure that they have the correct username and password (where appropriate) and server address (should your server address change due to instance resizing or fixed IP allocation).
We will automatically track these changes and insert the correct details on the next deployment. These automatic changes happen at the deployment step named
Custom database configs
If you have significantly customised your
database.yml (for example with multiple databases and/or external databases) and you have not disabled our "tampering" (see below) then you are highly likely to encounter issues. Our automated updates will tend to strip out the other databases or cause errors in their configuration.
Disabling automated config updates
If you would prefer to manage these configurations manually you can add this line to your manifest.yml file: `
This will prevent our system from making any automated changes to the configuration files (including
Adding this setting means that you need to ensure that the contents of your database configuration(s) are correct as Cloud 66 will no longer be able to update the file(s).
The location of this setting depends on the database type. For example:
mysql: configuration: tamper_with_yml: false
postgresql: configuration: tamper_with_yml: false
mongodb: configuration: tamper_with_yml: false