Skip to content

Dockerized PHP enviroment. This repository is a docker boilerplate for web apps written in PHP.

License

Notifications You must be signed in to change notification settings

PGSSoft/php-docker-skeleton

Repository files navigation

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

About

Dockerized PHP enviroment. This repository is a docker boilerplate for web apps written in PHP.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •