run laravel in docker

with nginx php mysql

to run following the commands:

    docker-compose up -d
    docker-compose exec php bash
    cp .env.example .env
    composer install
    php artisan key:generate