Add Docker-based dev/prod setup with zail helper scripts

This commit is contained in:
zino
2025-11-19 16:03:36 +01:00
parent 28647fce70
commit 5ef73a8041
10 changed files with 479 additions and 7 deletions

21
app/Jobs/TestLogJob.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Log;
class TestLogJob implements ShouldQueue {
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public function handle(): void {
Log::info('TestLogJob executed (async): ' . now());
echo 'TestLogJob executed (async): ' . now() . PHP_EOL;
}
}