On Mon, Dec 10, 2018 at 03:54:53PM -0600, Chris Sauer wrote:
We moved forward with just exposing the data folder of the database as a volume because operations here already backs up all volumes automatically. But I will have two instances of lava so I can certainly still point the database of the dev instance to aws-RDS. I will post updates over in the lava-devel mailing list. I understand that the container deployment is a very new thing for lava but since we're just starting off with lava we won't have a lot to migrate if breaking changes occur.
Hi Chris -
How did you do that? Are you rebuilding the container and modifying the entrypoint? I ask because it looks like the DB is already init'd in the image, and so if you mount in a volume over the top it will not re-init. I'm also wondering how you dealt with the DB path - hard coding '/var/lib/postgresql/9.6' seems fragile.
Thanks, Dan