DDD
DDD copied to clipboard
Add docker-compose.yml
Alternatively, you can do this without the .sh file. To do this, you can simply mount the .sql files in the desired order by naming them inside the container 1.sql, 2.sql, etc. then they will be executed in alphabetical order. Example: https://github.com/metarhia/Example/blob/3ac94c0015d2c4cfb46021934641b1845e3d7b27/docker-compose.yml#L21-L34
The alphabetical version looks less complicated 👍