git clone [email protected]:thilanga/laravel-docker.git
cd laravel-docker
To change configuration values, look in the docker-compose.yml
file and change the php
container's environment variables. These directly correlate to the Laravel environment variables.
docker-compose -f docker/docker-compose.yml up --build -d
docker exec -it --user www-data docker_app_1 composer create-project --prefer-dist laravel/laravel .
Navigate to http://localhost and you should see the application home page
docker-compose down