Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.03 KB

README.md

File metadata and controls

51 lines (33 loc) · 2.03 KB

Laravel on Docker

Dockerfile and docker-compose to develop using Laravel framework on Docker.

The docker-compose file brings up a local environment with:

TL;DR

# Optionally, create a new Laravel project
mkdir my-project

cd my-project
docker run --rm -v $(pwd):/app composer create-project --prefer-dist laravel/laravel .

# Copy files in this repository to your Laravel project directory
cp -r laravel-on-docker/. my-project

# Create your own .env file and update it with your config
cp .env.example .env

# Bring the environment up
docker-compose up

# Once ready, go to http://localhost:8080

# Stop and remove containers
docker-compose down

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.