Skip to content

opencycle/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

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.2
    volumes:
      - ./:/srv/www
  nginx:
    image: opencycle/nginx:latest
    volumes:
      - ./:/srv/www
    ports:
      - 80:80

About

Opencycle PHP-FPM Docker Image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published