A Docker image tailored for running Magento 2.4.7+ in production or development environments.
321
magento-php8.3-fpm is a lightweight and production-ready PHP 8.3 FPM Docker image, built and optimized for Magento 2.4.7+. It provides all required PHP extensions, Composer, and optimizations to power Magento in both development and production environments.
š Based on the official php:8.3-fpm image
ā” Optimized for Magento 2.4.7+ compatibility
š§© Preinstalled PHP extensions:
bcmath, gd, intl, mbstring, pdo_mysql, soap, xsl, zip, opcacheš¦ Includes PECL extensions: imagick and apcu
š” Composer installed globally
š¤ Non-root magento user for better container security
š§ Designed for easy integration with Nginx, MySQL, Redis, and Elasticsearch containers
Pull the image:
docker pull erikngigi/magento-php8.3-fpm:latest
Use in a Docker Compose setup:
services:
php-fpm:
image: erikngigi/magento-php8.3-fpm:latest
container_name: magento-php
volumes:
- ./magento:/var/www/html
expose:
- "9100"
Pair this image with:
erikngigi/magento-nginx ā Nginx container configured for Magentomysql:8.0 ā Database serviceredis:alpine ā Caching layerelasticsearch:8.x ā Search serviceSupports integration via Docker Compose or ECS task definitions:
environment:
MAGENTO_DOMAIN: example.com
MAGENTO_DIRECTORY: /var/www/html
MAGENTO_PHP_FPM_PORT: 9000
Eric Ngigi š§ [email protected]ā š GitHub: erikngigiā
latestš GitHub - erikngigi/magento-dockerā
Web Application Stack / PHP / Magento Development
Content type
Image
Digest
sha256:90e279edeā¦
Size
329.9 MB
Last updated
11 months ago
docker pull erikngigi/magento-php8.3-fpm