-
Edit .env file with your settings
-
Put your application files in /www folder
Install laravel with composer inside /www folder. Like this
composer create-project --prefer-dist laravel/laravel laradock
-
You must have installed composer (need PHP) at your PC
-
Run docker-compose up -d
-
It will create 2 containers (Apache Server and Mysql Server)
-
Mysql data files will be in /docker/mysql/data folder
You can create your apache image instead of apps4net/laravel-apache with the command
docker build -t laravel-apache docker/apache