ogallardop / php7-dockerized-laravel

php7, postgresql, elasticsearch dockerized to work with laravel 5.5 or newer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Dockerized

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.

What's inside

Requirements

Getting started

  1. Run make init in the project directory:

    make init

    It will build the container and get your services up when you init the project.

  2. make up to run the project and attach tty or make run to run in background. It will be accessible on http://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.

Other options

  1. make down to get down the container services.

SSH access

Run cd command to open your docker root folder

cd php7-dockerized-laravel/

To connect to apache server via ssh run:

make cli

License

Licensed under the terms of the MIT license.

About

php7, postgresql, elasticsearch dockerized to work with laravel 5.5 or newer

License:MIT License


Languages

Language:Dockerfile 73.6%Language:Makefile 26.4%