A whole architecture for Laravel 8. Dependencies hassle free! Pull the version you need!
374
Get the whole architecture from the docker-compose file available here to run Laravel with decoupled components.
To fully deploy the whole architecture, there are still 4 (2 optionals) other images to be run:
This image includes all most common required extensions for PHP and Laravel, so it frees up the hassle to install and configure everything from scratch. Xdebug included.
It is a standalone PHP FPM image that helps to decouple this component from the most common webserver Nginx. This is very useful and powerful architecture if you want to improve performance and host other container applications based on the same PHP image.
This image is used as part of a set of other images. To use this image together with the whole architeture and be up and running with your Laravel 8 project, follow these simple steps:
$> git clone https://github.com/dariopalladino/laravel-dockers.git Edit the compose-docker.dev-v2.yml file if you want to map any volume or copy any personal configuration to the containers
$> docker-compose -f docker-compose.dev,v2.yml up -d
$> docker container exec -it laravel-php bash This is required to either download your code from a GIT repo or only run compose update
these steps can still be added as entrypoint in your docker-compose file
# ./start.sh
or
# cd /var/www && composer update && php artisan key:generate
Content type
Image
Digest
Size
352.7 MB
Last updated
over 4 years ago
docker pull dariopad/php-fpm-laravel:7.4-mysqli