Download the PHP package meeeet-dev/laravel-docker without Composer
On this page you can find all versions of the php package meeeet-dev/laravel-docker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download meeeet-dev/laravel-docker
More information about meeeet-dev/laravel-docker
Files in meeeet-dev/laravel-docker
Package laravel-docker
Short Description Compose a Laravel Docker image for Production, using PHP 7 / 8, redis, 'mysql/mariadb' and nginx
License MIT
Homepage https://github.com/meeeet-dev/laravel-docker
Informations about the package laravel-docker
Initialize a Docker for Laravel projects
Help you to create docker-compose.yml and Dockerfile as well as Database Volume and Network
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
You can install the package via composer:
Usage
-
Simply Run the
docker:installcommand with yourimagename and your bridgenetworkname-
It will ask you to choose your php version and then it will ask you to create the bridge network and create the database volume for the database.
- Note:
- Do not delete the
docker-compose.ymlfile and.dockerfolder. - After successfully publishing all the docker config, the command will ask you whether to uninstall itself since its work is done. If you have no further use of it, you can proceed to uninstall it.
- Do not delete the
-
-
Change Database and Docker Variables in
.envaccording to your need. -
Now you can run
docker-compose build appto build your image -
Then
docker-compose up -dto run your services.- Do not forget to run following commands on installation to get started:
docker-compose exec app composer installdocker-compose exec app php artisan migrateto run the migrationsdocker-compose exec app php artisan storage:linkto link storagedocker-compose exec app npm installto install npm packages
Note: run
docker-compose downto stop your services - Do not forget to run following commands on installation to get started:
- Done. Happy Coding!
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Meeeet Dev - Creator and Maintainer of the new package
- Sam Maosa - Creator of the original package
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of laravel-docker with dependencies
illuminate/filesystem Version >=7.0
illuminate/support Version >=7.0