Skip to content

soso555BoBs/env-laravel

Repository files navigation

env-laravel 🐳

License Stars Issues Forks

Introduction

References

Usage

  • with creating laravel project

    $ git clone git@github.com:soso555BoBs/env-laravel.git
    $ cd env-laravel
    $ make create-project # Install the latest Laravel project
    $ make install-recommend-packages # Not required
  • without creating laravel project

    $ git clone git@github.com:soso555BoBs/env-laravel.git
    $ cd env-laravel
    $ git clone git@github.com:laravel/laravel.git docker-laravel/backend # Clone any project to the backend directory
    $ make init
  • http://localhost

  • http://localhost:8025/

Read this Makefile.

Tips

Read this Wiki.

Container structures

├── app
├── web
├── redis
├── mailhog
└── 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published