Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1000 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 1000 Bytes

PHP Docker Blueprint

This is a PHP blueprint for docker-blueprint. It is based on PHP FPM docker image and includes a number of generic modules such as PHP extensions, a package manager (Composer) and databases (MySQL, Redis, etc).

Usage

Create a new application or create an environment for an existing project using new command:

docker-blueprint new php

You can specify a different version of PHP using environment variable:

PHP_VERSION=7.2 docker-blueprint new php

This will automatically update build arguments used in the Dockerfile and replace the default values in docker-blueprint.yml file.