feat: Introduce MessageBroker abstraction for decoupled event publishing, add notes-worker service, and optimize note repository tag fetching.

This commit is contained in:
2025-12-26 01:31:36 +01:00
parent 58de25e5bc
commit 9ac013dce1
11 changed files with 238 additions and 115 deletions

View File

@@ -14,6 +14,21 @@ services:
volumes:
- ./data:/app/data
worker:
build: .
command: ["./notes-worker"]
environment:
- DATABASE_URL=sqlite:///app/data/notes.db
- BROKER_URL=nats://nats:4222
- QDRANT_URL=http://qdrant:6334
- EMBEDDING_PROVIDER=fastembed
depends_on:
- backend
- nats
- qdrant
volumes:
- ./data:/app/data
frontend:
build: ./k-notes-frontend
ports: