Sign inSign up

dariopad/php-fpm-laravel

By dariopad

Updated over 4 years ago

A whole architecture for Laravel 8. Dependencies hassle free! Pull the version you need!

Image
Languages & frameworks
Integration & delivery
1

374

dariopad/php-fpm-laravel repository overview

Laravel PHP FPM docker image


This image is based on the PHP-FPM-alpine Official Docker image and it is ready to be used for your Laravel 8 projects.

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:


Why this image?

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.

  • Standard modules installed are: curl, gd, bcmath, zip, bz2, pdo, pdo_pgsql, simplexml, opcache, sockets, mbstring, pcntl, xsl, pspell, tokenize, pdo_mysql, pdo_sqlite
  • Extra modules installed are: Xdebug, Imagick, Redis

How to use this 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

Tag summary

Content type

Image

Digest

Size

352.7 MB

Last updated

over 4 years ago

docker pull dariopad/php-fpm-laravel:7.4-mysqli