Skip to content

shipwebdotjp/docker-laravel

Repository files navigation

docker-laravel 🐳

License Stars Issues Forks

Introduction

Build a simple laravel development environment with docker-compose.
Supported version: Laravel 10

Usage

$ git clone git@github.com:shipwebdotjp/docker-laravel.git
$ cd docker-laravel
$ make create-project # Install the latest Laravel project
$ make install-recommend-packages # Not required

http://localhost

Read this Makefile.

Tips

Read this Wiki.

Container structure

├── app
├── web
└── db

app container

web container

  • Base image

db container

Persistent MySQL Storage

By default, the named volume is mounted, so MySQL data remains even if the container is destroyed. If you want to delete MySQL data intentionally, execute the following command.

$ docker-compose down -v && docker-compose up

About

Template for laravel on docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published