44[ ![ CakePHP] ( https://img.shields.io/badge/cakephp-4-red?logo=cakephp )] ( https://book.cakephp.org/4/en/index.html )
55[ ![ Docker] ( https://img.shields.io/badge/docker-ffffff.svg?logo=docker )] ( .docker )
66[ ![ Kubernetes] ( https://img.shields.io/badge/kubernetes-D3D3D3.svg?logo=kubernetes )] ( .kube )
7- [ ![ PHP] ( https://img.shields.io/badge/php-8.0 -8892BF.svg?logo=php )] ( https://hub.docker.com/_/php )
7+ [ ![ PHP] ( https://img.shields.io/badge/php-8.1 -8892BF.svg?logo=php )] ( https://hub.docker.com/_/php )
88[ ![ NGINX] ( https://img.shields.io/badge/nginx-1.19-009639.svg?logo=nginx )] ( https://hub.docker.com/_/nginx )
99[ ![ MySQL] ( https://img.shields.io/badge/mysql-8-00758F.svg?logo=mysql )] ( https://hub.docker.com/_/mysql )
1010
@@ -17,11 +17,11 @@ or [DevilBox](https://devilbox.readthedocs.io/en/latest/examples/setup-cakephp.h
1717- [ Docker 20] ( https://docs.docker.com/engine/release-notes/ ) or higher
1818- Make
1919
20- | Service | Host: Port | Docker Host | Image |
21- | ----------- | ----------- | ----------- | ----------- |
22- | PHP8.0 -FPM w/ Xdebug 3 | - | php | [ cnizzardini/php-fpm-alpine:8.0 -latest] ( https://hub.docker.com/r/cnizzardini/php-fpm-alpine ) |
23- | NGINX 1.19 | localhost:8080 | web | [ nginx:1.19-alpine] ( https://hub.docker.com/_/nginx ) |
24- | MySQL 8 | localhost:3607 | db | [ library/mysql:8] ( https://hub.docker.com/_/mysql ) |
20+ | Service | Host: Port | Docker Host | Image |
21+ | ------------------------ | ---------------- | ------------- | ---------------------------------------------------------------------------------------------- |
22+ | PHP8.1 -FPM w/ Xdebug 3 | - | php | [ cnizzardini/php-fpm-alpine:8.1 -latest] ( https://hub.docker.com/r/cnizzardini/php-fpm-alpine ) |
23+ | NGINX 1.19 | localhost:8080 | web | [ nginx:1.19-alpine] ( https://hub.docker.com/_/nginx ) |
24+ | MySQL 8 | localhost:3607 | db | [ library/mysql:8] ( https://hub.docker.com/_/mysql ) |
2525
2626
2727- [ Installation] ( #installation )
@@ -65,26 +65,26 @@ After install browse to [http://localhost:8080](http://localhost:8080) to see th
6565A [ Makefile] ( Makefile ) is provided with some optional commands for your convenience. Please review the Makefile as
6666these commands are not exact aliases of docker-compose commands.
6767
68- | Make Command | Description |
69- | ----------- | ----------- |
70- | ` make ` | Shows all make target commands |
71- | ` make init ` | Runs docker build, docker-compose up, and copies over env files |
72- | ` make init.nocache ` | Same as make.init but builds with --no-cache |
73- | ` make start ` | Starts services ` docker-compose -f .docker/docker-compose.yml start ` |
74- | ` make stop ` | Stops services ` docker-compose -f .docker/docker-compose.yml stop ` |
75- | ` make up ` | Create and start containers ` docker-compose -f .docker/docker-compose.yml up -d ` |
76- | ` make down ` | Take down and remove all containers ` docker-compose -f .docker/docker-compose.yml down ` |
77- | ` make restart ` | Restarts services ` docker-compose -f .docker/docker-compose.yml restart ` |
78- | ` make php.sh ` | PHP terminal ` docker exec -it --user cakephp <PHP_CONTAINER> sh ` |
79- | ` make php.restart ` | Restarts the PHP container |
80- | ` make db.sh ` | DB terminal ` docker exec -it <DB_CONTAINER> sh ` |
81- | ` make db.mysql ` | MySQL terminal ` mysql -u root -h 0.0.0.0 -p --port 3307 ` |
82- | ` make web.sh ` | Web terminal ` docker exec -it <WEB_CONTAINER> sh ` |
83- | ` make xdebug.on ` | Restarts PHP container with xdebug.mode set to debug,coverage |
84- | ` make xdebug.off ` | Restarts PHP container with xdebug.mode set to off |
85- | ` make composer.install ` | ` docker exec <PHP_CONTAINER> composer install --no-interaction ` |
86- | ` make composer.test ` | ` docker exec <PHP_CONTAINER> composer test ` |
87- | ` make composer.check ` | ` docker exec <PHP_CONTAINER> composer check ` |
68+ | Make Command | Description |
69+ | ------------------------- | ----------------------------------------------------------------------------------------- |
70+ | ` make ` | Shows all make target commands |
71+ | ` make init ` | Runs docker build, docker-compose up, and copies over env files |
72+ | ` make init.nocache ` | Same as make.init but builds with --no-cache |
73+ | ` make start ` | Starts services ` docker-compose -f .docker/docker-compose.yml start ` |
74+ | ` make stop ` | Stops services ` docker-compose -f .docker/docker-compose.yml stop ` |
75+ | ` make up ` | Create and start containers ` docker-compose -f .docker/docker-compose.yml up -d ` |
76+ | ` make down ` | Take down and remove all containers ` docker-compose -f .docker/docker-compose.yml down ` |
77+ | ` make restart ` | Restarts services ` docker-compose -f .docker/docker-compose.yml restart ` |
78+ | ` make php.sh ` | PHP terminal ` docker exec -it --user cakephp <PHP_CONTAINER> sh ` |
79+ | ` make php.restart ` | Restarts the PHP container |
80+ | ` make db.sh ` | DB terminal ` docker exec -it <DB_CONTAINER> sh ` |
81+ | ` make db.mysql ` | MySQL terminal ` mysql -u root -h 0.0.0.0 -p --port 3307 ` |
82+ | ` make web.sh ` | Web terminal ` docker exec -it <WEB_CONTAINER> sh ` |
83+ | ` make xdebug.on ` | Restarts PHP container with xdebug.mode set to debug,coverage |
84+ | ` make xdebug.off ` | Restarts PHP container with xdebug.mode set to off |
85+ | ` make composer.install ` | ` docker exec <PHP_CONTAINER> composer install --no-interaction ` |
86+ | ` make composer.test ` | ` docker exec <PHP_CONTAINER> composer test ` |
87+ | ` make composer.check ` | ` docker exec <PHP_CONTAINER> composer check ` |
8888
8989### PHP
9090
0 commit comments