test changes

This commit is contained in:
the 2024-11-13 01:14:32 +04:00
parent c032253699
commit 5fa9c76b99

View File

@ -1,3 +1,12 @@
networks:
vpn:
name: kafkaVPN
driver: bridge
ipam:
config:
- subnet: "192.168.2.0/24"
gateway: "192.168.2.1"
services: services:
zookeeper: zookeeper:
networks: networks:
@ -11,7 +20,8 @@ services:
kafka: kafka:
networks: networks:
- vpn vpn:
ipv4_address: 192.168.2.10
image: confluentinc/cp-kafka:7.4.0 image: confluentinc/cp-kafka:7.4.0
ports: ports:
- 9092:9092 - 9092:9092
@ -68,7 +78,3 @@ services:
KAFKA_CLUSTERS_0_NAME: local KAFKA_CLUSTERS_0_NAME: local
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:29092 KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:29092
KAFKA_CLUSTERS_0_METRICS_PORT: 9997 KAFKA_CLUSTERS_0_METRICS_PORT: 9997
networks:
vpn:
name: kafkaVPN