graal-native-docker-compose.yaml 730 B

123456789101112131415161718192021222324252627
  1. services:
  2. mongodb:
  3. image: mongo:4.0
  4. ports:
  5. - "27017:27017"
  6. zookeeper:
  7. image: confluentinc/cp-zookeeper:6.2.10
  8. environment:
  9. ZOOKEEPER_CLIENT_PORT: 2181
  10. ZOOKEEPER_TICK_TIME: 2000
  11. ports:
  12. - "22181:2181"
  13. kafka:
  14. image: confluentinc/cp-kafka:6.2.10
  15. depends_on:
  16. - zookeeper
  17. ports:
  18. - "29092:29092"
  19. environment:
  20. KAFKA_BROKER_ID: 1
  21. KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
  22. KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
  23. KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
  24. KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
  25. KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1