savannabits/dockavel

Compose a Laravel Docker image for Production, using PHP 8, redis, mariadb and nginx

Installs: 528

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 2

Forks: 4

Open Issues: 0

Language:Dockerfile

v1.1.0 2023-02-22 08:49 UTC

README

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.