Easily deploy Laravel application using docker-compose. Support https with let'sencrypt SSL.
- Clone this repo
- Copy your Laravel project to /src folder
- Execute the following command
$ make init # Build container with current laravel project
$ make install-recommend-packages # Optional
# Build container with current laravel project and run php artisan migrate:fresh --seed
$ make init-fresh
$ make install-recommend-packages # Optional
βββ app # Laravel
βββ web # Nginx
- Base image
- nginx:nginx:1.20-alpine
This is how Makefile translate command
Full list see this
- Read this Makefile.
make up
make build
make migrate
make fresh
make seed
make dacapo
All code in this repository is licensed under the terms of the MIT License
. For further information please refer to the LICENSE
file.