A docker multicontainer with nginx, postgres, redis and an example laravel project.
-
Build/run containers
make build make run -
Composer install
make install -
Don't forget to generate
APP_KEYmake app-keyOr if you want to do it manually:
make exec php artisan key:generate
make exec
Run whatever you want (E.g. composer require ).
If you have problems with permissions on files, try to run command:
make uid
Perhaps your user has a UID other than 1000
make help
Feel free to change xdebug config in xdebug.ini (For example xdebug.idekey if you are not using PHPStorm)