Simple package to create and run docker image preconfigured for Laravel Octane + Swoole and Kafka.
Via Composer
$ composer require werk365/doctane
$ php artisan doctane:install
Builds an image from the provided Dockerfile
$ php artisan doctane:start
Creates and starts container based on image, exposing port 8000, mounting your application directory and starting an octane (swoole) server
$ php artisan doctane:stop
Shuts down container
$ php artisan doctane:restart
Restarts container
$ php artisan doctane:bash
Lets you bash into the container
$ php artisan doctane:reload
Reload octane workers in container
$ php artisan doctane:status
Check octane server status in container
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.