From abe51b5d12dcd13122db95703ce5aa2c243f9f39 Mon Sep 17 00:00:00 2001 From: Niek Otten Date: Thu, 16 Jul 2026 15:35:22 +0200 Subject: [PATCH] fix(infra): local event-subscriber needs Acl:BaseUrl (parity, crashes without it) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The local compose's event-subscriber lacked Acl__BaseUrl (and the acl dependency), so it threw 'Missing configuration Acl:BaseUrl' at startup — a parity gap vs the canonical compose (#78). Its non-zero exit also destabilised podman-compose's bring-up of the rest of the stack. Co-Authored-By: Claude Opus 4.8 (1M context) --- infra/docker-compose.local.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infra/docker-compose.local.yml b/infra/docker-compose.local.yml index e380b8d..a58da5d 100644 --- a/infra/docker-compose.local.yml +++ b/infra/docker-compose.local.yml @@ -380,6 +380,10 @@ services: image: register-referentie/event-subscriber:dev environment: ConnectionStrings__Projection: Host=projection-db;Database=projection;Username=projection;Password=projection + # The subscriber enriches the projection with each zaak's reference by asking the ACL — the only + # code allowed to read ZGW (§8.1, #78). Required: startup throws without it (parity with the + # canonical compose). + Acl__BaseUrl: http://acl:8080/ EventSubscriber__Webhook__AuthToken: ${NOTIFICATION_WEBHOOK_TOKEN:-Bearer big-reference-notifications} ports: - "8110:8080" @@ -392,6 +396,8 @@ services: depends_on: projection-db: condition: service_healthy + acl: + condition: service_healthy networks: [cg] projection-api: