Build and Run Laravel 7 in Docker Part 4 - MySQL
Add the Database
We want to persist this container allowing us to stop and start it without losing data. We can achieve this with a volume.
Open your docker-compose and under the web block add the following: