Docker version 20.10.8
docker-compose version 1.29.2
First one
git clone git@github.com:oguztopcu/real-estate.git
move to project directory
cd /path/to/your/real-estate
docker-compose up -d
If you use without docker mysql, you should be change host
HOST=host.docker.internal
and you should run on your terminal at project directory
composer install
php artisan key:generate
php artisan jwt:secret
php artisan migrate
If you haven't installed php, you connect to docker container you can run command
docker ps (Running container lists)
docker exec -it {containerId} bash
Finally!
Go to your browser and open the link
http://localhost:1337