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.
./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
|
To simplify integration with Jenkins tool the project provides predefined Jenkins's pipeline
- Jan Hryniuk jhryniuk@pgs-soft.com
Please read more about Github Flow.
Due to OSx's file sync is extremaly slow we suggest to use docker-machine-nfs or docker-sync.io