Setup Laravel with Docker-compose, with
- Nginx
- Mysql
- Node JS
- Composer
- Redis
Create a directory where you want to use this Docker project.
Go with the CLI to this folder.
git clone [email protected]:mvd81/docker-laravel.git .
rm -r .git --force
mkdir src
Change the docker-compose / dockerfile (update network name, ports, etc)
docker-compose up -d --build
composer create-project --prefer-dist laravel/laravel src
Update the .env config based on the settings (ports / db credentials) from your docker-compose.yml file.
Use an installation wizard to setup Laravel with Docker.
https://github.com/mvd81/new-docker-laravel-project-wizard