This is docker-compose env to develop larabel on Docker using nginx, PHP and mysql.
-
clone this repo
-
setup
-
Type below to build docker-compose file.
docker-compose up -d --build
-
Install libraries for Larabel and copy .env.
[host] docker-compose exec app bash [app] composer install [app] cp .env.example .env [app] php artisan key:generate
-
Check if database is connected.
[app] php artisan migrate
-