Optimized PHP-FPM & Nginx for Magento 2/Laravel. Supports PHP 5.6-8.3. Lightweight Alpine Linux base
1.1K
This Docker image provides a robust and flexible setup combining PHP-FPM and Nginx, optimized for various PHP versions. It is based on the Alpine Linux distribution for a lightweight and secure environment. The image is tailored for a variety of PHP versions, ranging from legacy support to the latest PHP releases.
hirak/prestissimo for faster installs.The image includes essential packages and libraries required for a wide range of PHP applications:
This image is specifically built to support applications built with Magento 2 and Laravel, providing all necessary dependencies and configurations out of the box.
To use this image, you can pull it from the Docker repository for the specific PHP version you require. For example, to use PHP_VERSION:
docker pull wethemakers/php-nginx:PHP_VERSION
You can then run a container using:
docker run -d -p 80:80 wethemakers/php-nginx:PHP_VERSION
Ensure to mount your application code and any required configuration files appropriately.
The image comes with default configuration files:
/etc/supervisord.conf/usr/local/etc/php/php.ini/usr/local/etc/php-fpm.d/www.confYou can replace these with your custom configurations by mounting them as volumes:
docker run -d -p 80:80 \
-v /path/to/your/php.ini:/usr/local/etc/php/php.ini \
-v /path/to/your/www.conf:/usr/local/etc/php-fpm.d/www.conf \
wethemakers/php-nginx:PHP_VERSION
This Docker image is designed to provide a reliable and flexible PHP-FPM and Nginx environment, suitable for a wide range of applications and compatible with multiple PHP versions. Whether you're maintaining legacy applications or developing new ones, this image offers the tools and configurations needed for a streamlined development and deployment process. Its support for Magento 2 and Laravel ensures that you have everything you need to run these popular frameworks efficiently.
Content type
Image
Digest
sha256:fe8063290…
Size
171.7 MB
Last updated
over 2 years ago
docker pull wethemakers/php-nginx:8.3.7-fpm-alpine3.20