Sign inSign up

flowman/php-fpm

By flowman

•Updated about 1 year ago

PHP-FPM optimized for !Joomla

Image
0

6.5K

flowman/php-fpm repository overview

⁠What is PHP-FPM?

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

⁠Info

The container is optimized to run !Joomla with Nginx, so some PHP modules have been striped out. Check the build section to customize this container for your needs.

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

⁠Usage

docker run -d flowman/php-fpm:tag
⁠Environment Variables

DATADOG

This variable is optional and will enable Datagod APM⁠ to monitor your php application.

XDEBUG

This variable is optional and will enable xdebug.

⁠... via docker-compose

Example docker-compose file

version: '2'
services:
  nginx:
    image: flowman/nginx:1.18.0
    ports:
     - "80:80"
    volumes_from:
      - 'joomla'
  php-fpm:
    image: flowman/php-fpm:7.4.7
    network_mode: "service:nginx"
    volumes_from:
      - 'joomla'
    environment:
      XDEBUG: 'true'
  joomla:
    image: flowman/joomla:3.9.18
    network_mode: none

⁠Build

For example, if you need to install or remove php extensions, edit the Dockerfile and than build-it.

git clone [email protected]:Flowman/docker-php-fpm.git
cd ./docker-php-fpm
docker build --rm -t flowman/php-fpm .

Tag summary

Content type

Image

Digest

sha256:1d2de97f3…

Size

69.2 MB

Last updated

about 1 year ago

docker pull flowman/php-fpm