Laravel Grafana Dashboard

screenshot of Laravel Grafana Dashboard

A simple data dashboard built with Laravel, MySQL, and Grafana, all tied together under a Docker network

Overview

If you're a developer looking to streamline your Laravel development process, this docker-compose setup might just be what you need. It creates a lightweight LEMP (Linux, Nginx, MySQL, PHP) network of containers tailored specifically for Laravel projects. The simplicity of setting it up means you can get right to coding without diving deep into configuration files.

With just a few commands and the right structure, your local Laravel environment can be up and running within moments. This solution not only saves time but also minimizes the hassle of managing software dependencies on your local machine.

Features

  • Easy Setup: Quickly spin up a full LEMP stack for Laravel by running just a couple of commands after cloning the repository.
  • Isolated Containers: Each component (Nginx, MySQL, PHP) runs in its own container, ensuring an organized and conflict-free environment.
  • Built-in Composer and NPM Containers: No need to install Composer or NPM locally; run your commands directly inside the containers for greater convenience.
  • Artisan Command Support: Use Laravel's Artisan commands in the container without any extra setup on your host machine.
  • Persistent MySQL Storage: Easily configure your MySQL container to retain data, allowing for seamless development without the risk of losing your database with each teardown.
  • Rapid Testing: With everything containerized, you can quickly test changes in isolation, ensuring your local environment mirrors production conditions.
  • Customizable: Easily modify the docker-compose.yml file to fit the needs of your specific Laravel application, enhancing flexibility and control.