DDD icon indicating copy to clipboard operation
DDD copied to clipboard

Add docker-compose.yml

Open tshemsedinov opened this issue 1 year ago • 2 comments

tshemsedinov avatar Jul 06 '23 17:07 tshemsedinov

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

MarhiievHE avatar Jul 06 '23 17:07 MarhiievHE

The alphabetical version looks less complicated 👍

True-Evzheniy avatar Jul 06 '23 18:07 True-Evzheniy