Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

PHP-FPM

https://hub.docker.com/r/opencycle/php/Docker Pulls

This image provides PHP-FPM and the required PHP extensions for Opencycle. It is based on the Official PHP-FPM Alpine image.

Supported tags and respective Dockerfile links

We provide the following version tags:

Included Extensions

Additional extensions included in addition to the base PHP-FPM Docker image:

  • mcrypt
  • opcache
  • pdo_mysql
  • pdo_pgsql

Usage

Use as part of a multi-stage build as your final application image:

FROM opencycle/php:7.2 as application
COPY . /srv/www

PHP-FPM will then be exposed on port 9000 you will need to use this image in combination with a web server image like opencycle/nginx.

services:
php:
image: opencycle/php:7.2volumes:
- ./:/srv/wwwnginx:
image: opencycle/nginx:latestvolumes:
- ./:/srv/wwwports:
- 80:80

About

Opencycle PHP-FPM Docker Image

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages