365Werk / doctane

laravel octane docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doctane

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.

About

laravel octane docker

License:Other


Languages

Language:PHP 89.2%Language:Dockerfile 7.5%Language:Shell 3.2%