Build a simple laravel application development environment with docker-compose.
- Docker ^19.*
- click Use this template
- git clone & change directory
- execute the following command
$ make create-project # Install the latest Laravel project
- set src/.env variable :
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=admin
DB_PASSWORD=admin
- show application in http://localhost
- show phpmyadmin in http://localhost:81
- list execute command in Makefile.
app
use image:web
use image:- nginx:stable-alpine
db
use image:- mysql:8.0
phpmyadmin
use image:- phpmyadmin:latest
Optional