Docker compose for laravel

v0.2.1 2024-05-19 09:52 UTC

This package is auto-updated.

Last update: 2024-05-19 09:53:22 UTC


Laravel Docker Compose provides a Docker powered local development experience for Laravel.


Require this package with composer using the following command:

composer require baijunyao/laravel-docker-compose --dev


Publish the config and docker-compose.yml files

php artisan laravel-docker-compose:publish

Set Up Docker For Mac with Native NFS

The default file system that Docker uses is quite slow in the Mac environment, for that reason, many dev’s used NFS.

Setup native NFS for Docker:


Use docker-compose-nfs.yml

docker compose -f docker-compose-nfs.yml up