Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 652 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 652 Bytes

docker-compose-php

docker-compose setup to run latest PHP 7 under Nginx with every container outputting it's logging to the docker daemon.

Purpose

Create the ultimate development environment

Install

Install docker and docker-compose

Run

$ git clone https://github.com/devigner/docker-compose-php.git
$ cd docker-compose-php
$ docker-compose build
$ docker-compose up -d

Test

Open url http://localhost and you will see a phpinfo page

http/2

Copy .env.dist to .env and fill in the obvious information

Open url https://example.com and you will see a phpinfo page running in http/2