Overlay Docker para Coolify: notificación de leads API sobre imagen pública Relaticle

FROM ghcr.io/relaticle/relaticle:latest + COPY de los 5 ficheros
custom (migration + Notification + Action + 2 Observers) que
implementan la notificación in-app/email a un team cuando se crea
una Company o People vía API con creation_source=API.

Se elige overlay en vez de fork completo para no perder las
mejoras de upstream en cada build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-08 22:34:42 -04:00
commit 5e146b8b60
6 changed files with 243 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('teams', function (Blueprint $table): void {
$table->boolean('notify_on_api_lead')->default(false)->after('personal_team');
});
}
public function down(): void
{
Schema::table('teams', function (Blueprint $table): void {
$table->dropColumn('notify_on_api_lead');
});
}
};