adacto-company/laravel-docker-deploy
Deploy Laravel with a Docker Stack using an Artisan installer and environment generator. Installs required deployment files, helps manage multiple .env.* configs, and works alongside Laravel Sail for local development. Set APP_ENV per deployment environment.
This repo contains all required files to deploy Laravel using a Docker Stack.
You can install the package via composer:
composer require adacto-company/laravel-docker-deploy
You can install all the required files using this command:
php artisan docker-deploy:install
You can add a new environment using this command:
php artisan docker-deploy:generate-environment
For local development you can use Laravel Sail with the standard sail command.
For deployment environments you need to set the APP_ENV environment variable.
Tips: Don't forget to edit the generated .env.* files with your configuration data.
The Apache 2.0 License. Please see License File for more information.
How can I help you explore Laravel packages today?