Skip to content

AyariAhmed/docker-laravel-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run commands

  • To Create Laravel app : docker-compose run --rm composer create-project laravel/laravel .
  • If There is a permission error related to storage/ change the following persmissions:

    • chmod -R gu+w storage
    • chmod -R guo+w storage
    • php artisan cache:clear
  • Or Add This Cmd in php.dockerfile : RUN chown -R www-data:www-data /var/www/html

  • Start the App: docker-compose up -d --build server (the --build option is used to make sure of any untacked changes in dockerfiles)

About

A full laravel setup using docker containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages