Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker-compose.yml #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tshemsedinov
Copy link
Member

No description provided.

@MarhiievHE
Copy link

MarhiievHE commented Jul 6, 2023

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

@True-Evzheniy
Copy link

The alphabetical version looks less complicated 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants