{"repo":"miladrahimi/laravel-docker-compose","free":true,"listed":false,"github":"https://github.com/miladrahimi/laravel-docker-compose","clone":"git clone https://github.com/miladrahimi/laravel-docker-compose.git","description":"Run Laravel projects (FPM/Nginx, Octane/FrankenPHP, and Octane/Swoole) using Docker and Docker Compose with MySQL and Redis","language":"Dockerfile","stars":67,"topics":["composer","docker","docker-compose","laravel","octane","php","swoole","crontab","horizon","mysql"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Laravel Docker Compose Preconfigured Docker Compose setups for Laravel applications. It's a lightweight alternative to Laravel Sail with more control over your environment. This repository provides three main stacks you can choose to run your Laravel application: - FPM + Nginx Docker Compose files for Laravel with PHP 7.4/8.1/8.2/8.3/8.4. - Octane/FrankenPHP Docker Compose files for Laravel with PHP 8.3/8.4. - Octane/Swoole Docker Compose files for Laravel with PHP 8.1/8.2/8.3/8.4. Each stack includes: - PHP containers: - PHP-FPM, FrankenPHP, or PHP-CLI + Swoole extension. - Horizon for running Laravel Horizon. - PHP CLI + Crontab for running scheduled tasks. - Nginx container for reverse proxy (only in FPM + Nginx stack). - MySQL container for database storage. - Redis container for caching and session storage. Features - Separate compose.yml file per PHP version and stack (FPM + Nginx, Octane/FrankenPHP, and Octane/Swoole). - Debian Bookworm–based images for PHP, Nginx, MySQL, Redis, and FrankenPHP. - Horizon and Cron ( crontab ) containers for processing queued jobs and scheduled tasks. - Persistent MySQL data in ./docker/mysql/data with automatic init scripts from ./docker/mysql/init directory. - The ./docker/frankenphp/{data,config} directories to store Caddy data and FrankenPHP HTTPS certs. - Redis storage with optional persistent (uncomment in compose.yml ). Documentation Copy the compose.yml file and the docker directory from the selected stack/version directory into ","default_branch":null,"files":null,"tree":[],"storefront":"/r/miladrahimi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/miladrahimi/laravel-docker-compose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}