Package Data | |
---|---|
Maintainer Username: | SteveAzz |
Maintainer Contact: | steveazz@outlook.com (Steve Azzopardi) |
Package Create Date: | 2015-10-25 |
Package Last Update: | 2015-10-29 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-18 03:18:08 |
Package Statistics | |
---|---|
Total Downloads: | 38 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 14 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Docker Containers for simple Laravel development.
Some software you need installed for this to work.
In the root of your Laravel installation
$ composer require steveazz/laravel-docker
$ ./vendor/bin/laravel-docker make
$ sudo docker-compose up
If you check your directory where laravel is installed you will see a new file called.
|-- docker-config
|-- vhost.conf # Config file for nginx
|-- php-fpm.conf # Config file for php-fpm
|-- docker-compose.yml # yml file for docker-compose
Next up open your favorite browser and go on 127.0.0.1:8080
You should see the default installation Laravel welcome page.
If you get a '500' or '502 bad gateway' response in your browser, run the following commands.
$ sudo chown -R www-data storage
$ sudo chmod -R 0770 storage
If you get 'failed to open stream: Permission denied' from laravel in your browser run the following command
$ php artisan cache:clear
$ composer dump-autoload
You can find more information on how to use the docker containers in the wiki here
If you encounter any problem please do not hesitate to open up an issue I'll do my best to help.