Skip to content

a boilerplate for containerizing laravel project using docker compose

Notifications You must be signed in to change notification settings

saeidraei/laravel-docker-compose-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Docker Compose Boilerplate

steps to run the project for development:

  1. install docker
  2. install docker-compose
  3. clone the repository
  4. copy the .env.example file to .env using this command in project's root:
    cp src/.env.example src/.env
  5. run docker-compose up and there you go ; your development environment is ready at http://localhost:8060. if you want to have it running always in background run docker-compose up -d.

FAQ

  1. how to run artisan or php commands?

    a: open an interactive shell to your app container using docker exec -it ldb_app bash then you have php and composer available.

About

a boilerplate for containerizing laravel project using docker compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages