фикс2

This commit is contained in:
the 2024-11-13 01:00:16 +04:00
parent 83aec339c9
commit c032253699

View File

@ -1,7 +1,7 @@
services: services:
zookeeper: zookeeper:
# networks: networks:
# - vpn - vpn
image: confluentinc/cp-zookeeper:7.4.0 image: confluentinc/cp-zookeeper:7.4.0
environment: environment:
ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_CLIENT_PORT: 2181
@ -10,8 +10,8 @@ services:
- 2181:2181 - 2181:2181
kafka: kafka:
# networks: networks:
# - vpn - vpn
image: confluentinc/cp-kafka:7.4.0 image: confluentinc/cp-kafka:7.4.0
ports: ports:
- 9092:9092 - 9092:9092
@ -35,8 +35,8 @@ services:
- zookeeper - zookeeper
init-kafka: init-kafka:
# networks: networks:
# - vpn - vpn
image: confluentinc/cp-kafka:7.4.0 image: confluentinc/cp-kafka:7.4.0
depends_on: depends_on:
- kafka - kafka
@ -56,8 +56,8 @@ services:
" "
kafka-ui: kafka-ui:
# networks: networks:
# - vpn - vpn
container_name: kafka-ui container_name: kafka-ui
image: provectuslabs/kafka-ui:latest image: provectuslabs/kafka-ui:latest
ports: ports:
@ -69,6 +69,6 @@ services:
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: networks:
# vpn: vpn:
# name: kafkaVPN name: kafkaVPN