new three layer deployment

This commit is contained in:
buenosairesam
2026-01-22 12:55:50 -03:00
parent 174bc15368
commit dc3518f138
15 changed files with 766 additions and 643 deletions

View File

@@ -0,0 +1,48 @@
# Development overrides - hot reload, mounted volumes, debug settings
# Usage: docker compose up (automatically includes this file)
version: "3.8"
services:
aggregator:
build:
target: development
volumes:
- ./services/aggregator:/app/services/aggregator:ro
- ./shared:/app/shared:ro
- ./proto:/app/proto:ro
environment:
LOG_LEVEL: DEBUG
RELOAD: "true"
gateway:
build:
target: development
volumes:
- ./services/gateway:/app/services/gateway:ro
- ./shared:/app/shared:ro
- ./proto:/app/proto:ro
- ./web:/app/web:ro
environment:
LOG_LEVEL: DEBUG
RELOAD: "true"
alerts:
build:
target: development
volumes:
- ./services/alerts:/app/services/alerts:ro
- ./shared:/app/shared:ro
environment:
LOG_LEVEL: DEBUG
collector:
build:
target: development
volumes:
- ./services/collector:/app/services/collector:ro
- ./shared:/app/shared:ro
- ./proto:/app/proto:ro
environment:
LOG_LEVEL: DEBUG
COLLECTION_INTERVAL: 2