werk365/doctane

:package_description

0.0.4 2021-07-27 13:05 UTC

This package is auto-updated.

Last update: 2024-04-16 17:58:13 UTC


README

Latest Version on Packagist Total Downloads StyleCI

Simple package to create and run docker image preconfigured for Laravel Octane + Swoole and Kafka.

Installation

Via Composer

$ composer require werk365/doctane

Usage

$ 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

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.