savannabits / dockavel
Compose a Laravel Docker image for Production, using PHP 8, redis, mariadb and nginx
Installs: 527
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 4
Open Issues: 0
Language:Dockerfile
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- illuminate/support: >=8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-22 12:26:35 UTC
README
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
- Simply Run the
docker:install
command with yourimage
name and optionally your bridgenetwork
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.
- COPY all the .env variables published in a file named
.env.docker
to your current env file, just belowAPP_URL
. Modify the variables as necessary. - Done. Now you can run
docker-compose build app
to build your image, thendocker-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.