Dockerized PHP development stack: Nginx, PostgreSQL, PHP-FPM (PHP 7), Memcached, Redis and Elasticsearch
PHP Dockerized gives you everything you need for developing PHP 7 applications locally.
- Docker Engine
- Docker Compose
- Docker Machine (Mac and Windows only)
-
Run
make init
in the project directory:make init
It will build the container and get your services up when you init the project.
-
make up
to run the project and attach tty ormake run
to run in background. It will be accessible onhttp://localhost
That's it! You can now access your configured sites via the IP address of the Docker Machine or locally if you're running a Linux flavour and using Docker natively.
make down
to get down the container services.
Run cd command to open your docker root folder
cd php7-dockerized-laravel/
To connect to apache server via ssh run:
make cli
Licensed under the terms of the MIT license.