This PR adds a simple Docker Compose file for launching a local MariaDB instance, importing all the .sql files from the sql/ folder into a database named bible. It can be useful for people who prefer to run their database in Docker containers (like myself).
Note that the data folder (/var/lib/mysql) is ephemeral in this case. This is fine for my use case (just wanting to import this data to be able to query it), but for people who want to add their own custom tables, it might not be the best approach. This is trivial to fix in the docker-compose.yaml config, but is left as an exercise to the reader. :wink:
Thanks for a nice project! :+1:
This PR adds a simple Docker Compose file for launching a local MariaDB instance, importing all the
.sql
files from thesql/
folder into a database namedbible
. It can be useful for people who prefer to run their database in Docker containers (like myself).Note that the data folder (
/var/lib/mysql
) is ephemeral in this case. This is fine for my use case (just wanting to import this data to be able to query it), but for people who want to add their own custom tables, it might not be the best approach. This is trivial to fix in thedocker-compose.yaml
config, but is left as an exercise to the reader. :wink: