add work monitoring scheme

This commit is contained in:
2026-06-11 11:07:34 +07:00
parent d6504e4b5d
commit 76b678460a
8 changed files with 313 additions and 15 deletions
+12 -2
View File
@@ -27,10 +27,12 @@ services:
POSTGRES_USER: adminMonitoring
POSTGRES_PASSWORD: monitoringDbApp
SERVER_PORT: ${SERVER_PORT:-8083}
SPRING_KAFKA_BOOTSTRAP_SERVERS: kafka:9092
# SPRING_KAFKA_BOOTSTRAP_SERVERS: kafka:9092
depends_on:
- db
restart: unless-stopped
networks:
- app-network
kafka:
image: apache/kafka:latest
@@ -52,6 +54,8 @@ services:
KAFKA_MIN_INSYNC_REPLICAS: 1
volumes:
- kafka_data:/var/lib/kafka/data
networks:
- app-network
kafka-ui:
image: provectuslabs/kafka-ui:latest
@@ -64,8 +68,14 @@ services:
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: 'kafka:9092'
depends_on:
- kafka
networks:
- app-network
volumes:
kafka_data:
postgres_data:
postgres_data:
networks:
app-network:
external: true