Let’s Start Creating Docker Seeding
Hope you are familiar with “Docker-Compose”
Folder structure
Project
├── docker-compose.yml (File)
├── init (Directory)
|-- 01.sql (File)
Create a new file docker-compose.yml
Above file, we have created a MySql Docker container default Port No: 3306
As well as set environment variables such as user, password of MySql container.
Docker Entry-Point
if you check the entire file we have also created volumes that point to the `./init:` directory