A docker compose example file to use with laravel projects for development on local machines (tested with wsl2).
Before starting you should startup a docker network called local_docker from the cli. If you don't need to connect to external dockers you can remove the network configs altogheter.
Feel free to change the services name. PLease set the .env file before starting docker.