diff --git a/docker-compose.yml b/docker-compose.yml index c3da317..659457c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,18 +1,17 @@ -version: '3.9' +version: '3' services: - api-ms: - build: - context: . - dockerfile: Dockerfile - container_name: catalog-api-ms - ports: - - "8000:8000" - networks: - - catalog_microservices_network - depends_on: - - database - - kafka + # api-ms: + # build: + # context: . + # dockerfile: Dockerfile + # container_name: catalog-api-ms + # ports: + # - "5000:5000" + # networks: + # - catalog_microservices_network + # depends_on: + # - database database: image: mysql:lts container_name: database_calatog @@ -34,13 +33,11 @@ services: environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 - networks: - - catalog_microservices_network - + kafka: image: confluentinc/cp-server:7.3.0 hostname: kafka - container_name: kafka_server_microservices + container_name: kafka depends_on: - zookeeper ports: @@ -59,8 +56,6 @@ services: KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1 CONFLUENT_METRICS_ENABLE: 'false' CONFLUENT_SUPPORT_CUSTOMER_ID: 'anonymous' - networks: - - catalog_microservices_network control-center: image: confluentinc/cp-enterprise-control-center:7.3.0 @@ -77,9 +72,6 @@ services: CONTROL_CENTER_MONITORING_INTERCEPTOR_TOPIC_PARTITIONS: 1 CONFLUENT_METRICS_TOPIC_REPLICATION: 1 PORT: 9021 - networks: - - catalog_microservices_network - networks: