Open syahnur197 opened 2 years ago
@syahnur197 The MySQL docker image has a special directory at /docker-entrypoint-initdb.d
where it will execute any scripts and sql in there. So we can keep an sql dump and mount it to that directory in docker-compose.
It's not an enjoyable development experience to keep on scraping the websites especially when you have unreliable internet connection. Suggestion is to have another cmd programme that seeds data to the DB. We can use export an SQL file from existing data and create a new cmd programme that imports the SQL file.