Skip to content

LucaPrete/laravel-on-docker

Repository files navigation

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.

About

Dockerfile and docker-compose to develop using Laravel on Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published