Skip to content

johanvanderkuijl/cakephp-docker

Repository files navigation

CakePHP Docker app

Usage:

git clone cakephp-docker
cd cakephp-docker
docker-compose up -d --build
docker exec -it cakephp-docker_app_1 composer install
docker exec -it cakephp-docker_app_1 bin/cake migrations migrate
docker exec -it cakephp-docker_app_1 vendor/bin/phpunit

About proxies:

If you are stuck behind a corporate firewall with a proxy, you can use environment variables to set this proxy. For example:

export http_proxy="10.0.0.1:8080"

Since these variables are picked up in the docker-compose.yml file, your containers can access the internet.

You also might want to read https://docs.docker.com/config/daemon/systemd/#httphttps-proxy if you use systemd.

About

Developing and running cakephp in docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published