I’m working on small project at uni, and I wonder if is it possible to synchronize two docker containers using git/github. We are working in pairs on the database, and each of us has a database running on docker (both with same settings, started by same docker-compose file).
We need to populate both databases with same data, and would be easier if we can work separetly and just sync our db’s using git or something like that. I know that creating some sql scripts with data would be better/easier but I’m just curious.
I thought about copying volume file to git, and creating some simple script that pull volume from repo and copy it to volume of existing DB.