Skip to content

Laravel-fpm-mysql is a fully dockerized environment for your Laravel project.

License

Notifications You must be signed in to change notification settings

RomainFon/laravel-fpm-mysql

Repository files navigation

Laravel Logo

Latest Stable Version

About Project

Laravel-fpm-mysql is a fully dockerized environment for your Laravel project.

Requirements

Docker with Compose V2

Containers list

  • nginx - Web server
  • php-fpm - Workspace
  • mysql - Database
  • traefik - Reverse proxy (optional)

Getting started

1. Build images

docker compose build

2. Run containers

docker compose up -d

3. Access to workspace (php-fpm)

docker compose exec php-fpm bash

4. Install dependencies

composer install

5. Generate encryption key

php artisan key:generate

6. Enjoy 💙

Access to your project: Localhost

About

Laravel-fpm-mysql is a fully dockerized environment for your Laravel project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published