55[ ![ CakePHP] ( https://img.shields.io/badge/cakephp-4.2-red?logo=cakephp )] ( https://book.cakephp.org/4/en/index.html )
66[ ![ Docker] ( https://img.shields.io/badge/docker-ffffff.svg?logo=docker )] ( .docker )
77[ ![ Kubernetes] ( https://img.shields.io/badge/kubernetes-D3D3D3.svg?logo=kubernetes )] ( .kube )
8- [ ![ PHP] ( https://img.shields.io/badge/php-7.4 -8892BF.svg?logo=php )] ( https://hub.docker.com/_/php )
8+ [ ![ PHP] ( https://img.shields.io/badge/php-8.1 -8892BF.svg?logo=php )] ( https://hub.docker.com/_/php )
99[ ![ NGINX] ( https://img.shields.io/badge/nginx-1.19-009639.svg?logo=nginx )] ( https://hub.docker.com/_/nginx )
1010[ ![ MySQL] ( https://img.shields.io/badge/mysql-8-00758F.svg?logo=mysql )] ( https://hub.docker.com/_/mysql )
1111
1212A [ mixerapi/mixerapi] ( https://github.com/mixerapi/mixerapi ) application template for Docker Compose and Kubernetes
13- based on the official [ cakephp/app 4.2 ] ( https://github.com/cakephp/app ) template.
13+ based on the official [ cakephp/app 4.4 ] ( https://github.com/cakephp/app ) template.
1414
1515This project has been forked from [ cnizzardini/cakephp-docker] ( https://github.com/cnizzardini/cakephp-docker ) .
1616
@@ -19,11 +19,11 @@ This project has been forked from [cnizzardini/cakephp-docker](https://github.co
1919- [ Docker 20] ( https://docs.docker.com/engine/release-notes/ ) or higher
2020- Make
2121
22- | Service | Host: Port | Docker Host | Image |
23- | ----------- | ----------- | ----------- | ----------- |
24- | PHP8.0 -FPM w/ Xdebug 3 | - | php | [ cnizzardini/php-fpm-alpine:8.0 -latest] ( https://hub.docker.com/r/cnizzardini/php-fpm-alpine ) |
25- | NGINX 1.19 | localhost:8080 | web | [ nginx:1.19-alpine] ( https://hub.docker.com/_/nginx ) |
26- | MySQL 8 | localhost:3607 | db | [ library/mysql:8] ( https://hub.docker.com/_/mysql ) |
22+ | Service | Host: Port | Docker Host | Image |
23+ | ------------------------ | ---------------- | ------------- | ---------------------------------------------------------------------------------------------- |
24+ | PHP8.1 -FPM w/ Xdebug 3 | - | php | [ cnizzardini/php-fpm-alpine:8.1 -latest] ( https://hub.docker.com/r/cnizzardini/php-fpm-alpine ) |
25+ | NGINX 1.19 | localhost:8080 | web | [ nginx:1.19-alpine] ( https://hub.docker.com/_/nginx ) |
26+ | MySQL 8 | localhost:3607 | db | [ library/mysql:8] ( https://hub.docker.com/_/mysql ) |
2727
2828
2929- [ Installation] ( #installation )
@@ -67,26 +67,26 @@ After install browse to [http://localhost:8080](http://localhost:8080) to see th
6767A [ Makefile] ( Makefile ) is provided with some optional commands for your convenience. Please review the Makefile as
6868these commands are not exact aliases of docker-compose commands.
6969
70- | Make Command | Description |
71- | ----------- | ----------- |
72- | ` make ` | Shows all make target commands |
73- | ` make init ` | Runs docker build, docker-compose up, and copies over env files |
74- | ` make init.nocache ` | Same as make.init but builds with --no-cache |
75- | ` make start ` | Starts services ` docker-compose -f .docker/docker-compose.yml start ` |
76- | ` make stop ` | Stops services ` docker-compose -f .docker/docker-compose.yml stop ` |
77- | ` make up ` | Create and start containers ` docker-compose -f .docker/docker-compose.yml up -d ` |
78- | ` make down ` | Take down and remove all containers ` docker-compose -f .docker/docker-compose.yml down ` |
79- | ` make restart ` | Restarts services ` docker-compose -f .docker/docker-compose.yml restart ` |
80- | ` make php.sh ` | PHP terminal ` docker exec -it --user cakephp <PHP_CONTAINER> sh ` |
81- | ` make php.restart ` | Restarts the PHP container |
82- | ` make db.sh ` | DB terminal ` docker exec -it <DB_CONTAINER> sh ` |
83- | ` make db.mysql ` | MySQL terminal ` mysql -u root -h 0.0.0.0 -p --port 3307 ` |
84- | ` make web.sh ` | Web terminal ` docker exec -it <WEB_CONTAINER> sh ` |
85- | ` make xdebug.on ` | Restarts PHP container with xdebug.mode set to debug,coverage |
86- | ` make xdebug.off ` | Restarts PHP container with xdebug.mode set to off |
87- | ` make composer.install ` | ` docker exec <PHP_CONTAINER> composer install --no-interaction ` |
88- | ` make composer.test ` | ` docker exec <PHP_CONTAINER> composer test ` |
89- | ` make composer.check ` | ` docker exec <PHP_CONTAINER> composer check ` |
70+ | Make Command | Description |
71+ | ------------------------- | ----------------------------------------------------------------------------------------- |
72+ | ` make ` | Shows all make target commands |
73+ | ` make init ` | Runs docker build, docker-compose up, and copies over env files |
74+ | ` make init.nocache ` | Same as make.init but builds with --no-cache |
75+ | ` make start ` | Starts services ` docker-compose -f .docker/docker-compose.yml start ` |
76+ | ` make stop ` | Stops services ` docker-compose -f .docker/docker-compose.yml stop ` |
77+ | ` make up ` | Create and start containers ` docker-compose -f .docker/docker-compose.yml up -d ` |
78+ | ` make down ` | Take down and remove all containers ` docker-compose -f .docker/docker-compose.yml down ` |
79+ | ` make restart ` | Restarts services ` docker-compose -f .docker/docker-compose.yml restart ` |
80+ | ` make php.sh ` | PHP terminal ` docker exec -it --user cakephp <PHP_CONTAINER> sh ` |
81+ | ` make php.restart ` | Restarts the PHP container |
82+ | ` make db.sh ` | DB terminal ` docker exec -it <DB_CONTAINER> sh ` |
83+ | ` make db.mysql ` | MySQL terminal ` mysql -u root -h 0.0.0.0 -p --port 3307 ` |
84+ | ` make web.sh ` | Web terminal ` docker exec -it <WEB_CONTAINER> sh ` |
85+ | ` make xdebug.on ` | Restarts PHP container with xdebug.mode set to debug,coverage |
86+ | ` make xdebug.off ` | Restarts PHP container with xdebug.mode set to off |
87+ | ` make composer.install ` | ` docker exec <PHP_CONTAINER> composer install --no-interaction ` |
88+ | ` make composer.test ` | ` docker exec <PHP_CONTAINER> composer test ` |
89+ | ` make composer.check ` | ` docker exec <PHP_CONTAINER> composer check ` |
9090
9191### PHP
9292
0 commit comments