GithubHelp home page GithubHelp logo

tyler36 / ddev-laravel-queue Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 100 KB

Start a Laravel queue worker automatically in DDEV

License: Apache License 2.0

Shell 100.00%
ddev-get laravel laravel-queue ddev

ddev-laravel-queue's Introduction

tyler36/ddev-laravel-queue

tests project is maintained

Introduction

This add-on allows you to start a Laravel queue worker through the DDEV web service. See offical Queues documentation for more details.

Getting Started

This add-on requires DDEV v1.19.3 or higher.

  • Install the DDEV laravel worker add-on:
ddev get tyler36/ddev-laravel-queue
ddev restart

What does this add-on do and add?

  1. Checks to make sure the DDEV version is adequate.
  2. Adds .ddev/config.laravel-workers.yaml, which starts the queue worker daemon.

Contributed and maintained by tyler36

ddev-laravel-queue's People

Contributors

rfay avatar tyler36 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rfay

ddev-laravel-queue's Issues

Container crashes on startup when Horizon has not been added by composer

Just adding this here as a way of keeping track of the issue (briefly discussed on Discord) and to put a future PR against something.

If you try to load up the container without composer installing the Horizon command, the entire container crashes due to supervisor not being able to run the required queue command.

We have a couple of options:

  1. Stop Supervisor from Autostarting the job (though this kind of negates the functionality of this plugin)
  2. Find a way in Supervisor of detecting if the Horizon command exists before running and if it doesn't fail safely (possibly with a message out to the user with a command to run once Horizon has been installed).

If you have any other alternative suggestions, I'm happy to look into them.

Thanks

Create `1.0` release

This issue is a placeholder/reminder.

#11 disables the "install from release" to clear up the workflow logs.

Confirm that all tests are enabled (currently 3 tests)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.