refactoed kafka ingestion to go via backend not web-db

This commit is contained in:
2025-11-13 17:42:04 +01:00
parent ba8c42e30e
commit 6a2c41bbdb
8 changed files with 147 additions and 38 deletions

View File

@@ -1,4 +1,18 @@
services:
backend:
container_name: "PHANTOM-backend"
build:
context: .
dockerfile: docker/backend.Dockerfile
ports:
- "${BACKEND_PORT:-5000}:5000"
environment:
- KAFKA_HOST=kafka
- KAFKA_PORT=29092
depends_on:
- kafka
restart: unless-stopped
redis:
container_name: "PHANTOM-redis"
image: redis:7-alpine
@@ -7,6 +21,7 @@ services:
volumes:
- phantom_redis_data:/data
restart: unless-stopped
zookeeper:
container_name: "PHANTOM-zookeeper"
image: confluentinc/cp-zookeeper:latest