This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from justb81/v2
implement laravel queue worker for webserver-blueprint
- Loading branch information
Showing
4 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
app/Blueprint/Infrastructure/Service/Services/LaravelQueueWorker.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php namespace Rancherize\Blueprint\Infrastructure\Service\Services; | ||
use Rancherize\Blueprint\Infrastructure\Service\Service; | ||
|
||
/** | ||
* Class LaravelQueueWorker | ||
* @package Rancherize\Blueprint\Infrastructure\Service\Services | ||
*/ | ||
class LaravelQueueWorker extends Service { | ||
|
||
public function __construct() { | ||
$this->setName('LaravelQueueWorker'); | ||
$this->setImage('ipunktbs/laravel-queue-worker:php7.0-v1.0'); | ||
$this->setRestart( self::RESTART_UNLESS_STOPPED ); | ||
// $this->setTty(true); | ||
// $this->setKeepStdin(true); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters