Skip to content

How to run php project with Docker CE (NGINX PHP72 MySQL)

License

Notifications You must be signed in to change notification settings

migueabellan/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker NGINX PHP72 MySQL

How to run php project with Docker CE

Build Status

Prerequisites

Docker installation is required, see the official installation docs.

Download and install

Donwload using git

$ git clone https://github.com/migueabellan/docker-php.git

Create a .env

$ cp .env.dist .env

Build and run container

$ docker-compose build
$ docker-compose up -d

Install with composer

$ docker-compose run phpfpm composer install

Access project

http://localhost:1180

Units tests

$ docker-compose run phpfpm ./vendor/bin/phpunit ./tests

About

How to run php project with Docker CE (NGINX PHP72 MySQL)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published