version: "3" services: connect: build: context: . dockerfile: connect/Dockerfile depends_on: - zookeeper - kafka network_mode: host ports: - 8092:8092 environment: BOOTSTRAP_SERVERS: "PLAINTEXT://localhost:9094" GROUP_ID: 1 CONFIG_STORAGE_TOPIC: my_connect_configs OFFSET_STORAGE_TOPIC: my_connect_offsets STATUS_STORAGE_TOPIC: my_source_connect_statuses REST_HOST_NAME: 127.0.0.1 REST_ADVERTISED_HOST_NAME: 127.0.0.1 REST_PORT: 8092 ADVERTISED_PORT: 8092