Skip to content

Latest commit

 

History

History
82 lines (65 loc) · 2.72 KB

README.md

File metadata and controls

82 lines (65 loc) · 2.72 KB

Docker PHP skeleton

npm npm npm npm npm npm

Maintainer: Michal Kruczek

This stack uses: nginx (lastest), php-fpm (5.6, 7.1, 7.0), mysql (5.7).

This skeleton can be used to developing app locally or to running tests in Jenkins etc.

DESCRIPTION OF docker.sh USAGE.

./docker.sh build ${PROJECT_PHP_VERSION} ${PROJECT_WITH_COVERAGE} 
# usage examples
./docker.sh build 56 true
./docker.sh build 71 false
./docker.sh run 71 false
Syntax Description
images Build docker images.
Image versioning is based on version from composer.json
run ${PROJECT_PHP_VERSION} ${PROJECT_WITH_COVERAGE} Running local dev env.
Domain is set based on .composer.json name property without / sign, by default http://pgsdemo.dev:8000
build ${PROJECT_PHP_VERSION} ${PROJECT_WITH_COVERAGE} Running local dev env.
Domain is set based on .composer.json name property without / sign, by default http://pgsdemo.dev:8000

Continuous Integration

To simplify integration with Jenkins tool the project provides predefined Jenkins's pipeline

Jenkins Pipeline

Enjoy!

Authors

Contributors

Contributing

Please read more about Github Flow.

Docker for Mac

Due to OSx's file sync is extremaly slow we suggest to use docker-machine-nfs or docker-sync.io