ucan-lab / docker-laravel-apache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-laravel-apache 🐳

License Stars Issues Forks

Introduction

Build a simple laravel development environment with docker-compose. Apache version of docker-laravel.

Usage

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

http://localhost

Read this Makefile.

Container structure

β”œβ”€β”€ web
└── db

web container

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

License:MIT License


Languages

Language:Makefile 72.3%Language:Dockerfile 26.2%Language:Shell 1.5%