Skip to content

Compose a Laravel Docker image for Production, with support for php7.4, php8.x and Laravel Octane with both swoole and roadrunner

License

Notifications You must be signed in to change notification settings

savannabits/dockavel

Repository files navigation

Very short description of the package

Latest Version on Packagist Total Downloads GitHub Actions

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:

composer require savannabits/dockavel

Usage

  1. Simply Run the docker:install command with your image name and optionally your bridge network name
# You can run php artisan docker:install --help to see all the options available
php artisan docker:install yourimagename

NB: 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.

  1. COPY all the .env variables published in a file named .env.docker to your current env file, just below APP_URL. Modify the variables as necessary.
  2. Done. Now you can run docker-compose build app to build your image, then docker-compose up -d to run your services.

Testing

composer test

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 maosa.sam@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

About

Compose a Laravel Docker image for Production, with support for php7.4, php8.x and Laravel Octane with both swoole and roadrunner

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published