DEV Community

Albert R. C. Guedes
Albert R. C. Guedes

Posted on

LAPONG DOCKER

LAPONG DOCKER is a docker development environment with Laravel, PostgreSQL and Nginx

This project aims create a minimal viable development environment with Laravel, PostgreSQL and Nginx, in minimal docker environment, i.e., less then it, nothing work.

This environment is more simple then Laravel Sail, and LAPONG has PostgresSQL natively, while Sail not.

This project is possible thanks the official images for Nginx, PHP and PostgreSQL, which do great job.

The scheme is usual: we have 3 containers, each of then with a Nginx, a PHP-FPM and a PostgreSQL containers and an 'src' folder for the laravel source code. All images use Alpine Linux as base system to reduce the size of containers.

The laravel app can be developed and maintained independently of the project, and can use your own git repository, what helps to keep the projects clean and easy to maintain.

Link: https://github.com/albertguedes/lapong-docker

Top comments (0)