I’m running ManageIQ in a Docker container, inside a Rancher environment, and I’m attempting to connect it to an external Postgres database instead of the built in Postgres.
I’ve modified the DATABASE_URL environment variable to connect to the database, and that bit works, but every time ManageIQ restarts, it decides to drop the database and rebuild it from scratch (so wiping it). There doesn’t seem to be any condition which resolved to true for this behaviour, it just seems to do it every time. Is there any way I can stop this?
On a side note, is there a way to remove the internal Postgres DB from the container if I’m using an external DB?