Sha256: 7da9a03766a046497d01c5b667a2a031faa839889497d32701f0fd3078d3a7b0

Contents?: true

Size: 1.89 KB

Versions: 10

Compression:

Stored size: 1.89 KB

Contents

version: "3"
services:
  kafka:
    image: hausgold/kafka:3.7
    network_mode: bridge
    environment:
      MDNS_HOSTNAME: kafka.playground.local
      # See: http://bit.ly/2UDzgqI for Kafka downscaling
      KAFKA_HEAP_OPTS: -Xmx256M -Xms32M
    ulimits:
      # Due to systemd/pam RLIMIT_NOFILE settings (max int inside the
      # container), the Java process seams to allocate huge limits which result
      # in a +unable to allocate file descriptor table - out of memory+ error.
      # Lowering this value fixes the issue for now.
      #
      # See: http://bit.ly/2U62A80
      # See: http://bit.ly/2T2Izit
      nofile:
        soft: 100000
        hard: 100000

  schema-registry:
    image: hausgold/schema-registry:7.6
    network_mode: bridge
    environment:
      MDNS_HOSTNAME: schema-registry.playground.local
      SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: kafka.playground.local:9092
      # Set the default Apache Avro schema compatibility
      #
      # See: http://bit.ly/2TcpoY1
      # See: http://bit.ly/2Hfo4wj
      SCHEMA_REGISTRY_AVRO_COMPATIBILITY_LEVEL: full
    ulimits:
      # Due to systemd/pam RLIMIT_NOFILE settings (max int inside the
      # container), the Java process seams to allocate huge limits which result
      # in a +unable to allocate file descriptor table - out of memory+ error.
      # Lowering this value fixes the issue for now.
      #
      # See: http://bit.ly/2U62A80
      # See: http://bit.ly/2T2Izit
      nofile:
        soft: 100000
        hard: 100000

  schema-registry-ui:
    image: hausgold/schema-registry-ui:0.9.5
    network_mode: bridge
    environment:
      MDNS_HOSTNAME: schema-registry-ui.playground.local
      SCHEMAREGISTRY_URL: http://schema-registry.playground.local

  app:
    build: .
    network_mode: bridge
    working_dir: /app
    volumes:
      - .:/app:${DOCKER_MOUNT_MODE:-rw}
    environment:
      MDNS_HOSTNAME: app.playground.local

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rimless-1.8.0 doc/kafka-playground/docker-compose.yml
rimless-1.7.7 doc/kafka-playground/docker-compose.yml
rimless-1.7.6 doc/kafka-playground/docker-compose.yml
rimless-1.7.5 doc/kafka-playground/docker-compose.yml
rimless-1.7.4 doc/kafka-playground/docker-compose.yml
rimless-1.7.3 doc/kafka-playground/docker-compose.yml
rimless-1.7.2 doc/kafka-playground/docker-compose.yml
rimless-1.7.1 doc/kafka-playground/docker-compose.yml
rimless-1.7.0 doc/kafka-playground/docker-compose.yml
rimless-1.6.0 doc/kafka-playground/docker-compose.yml