Skip to content

Instantly share code, notes, and snippets.

@IssacTran
Forked from autodidacticon/docker-compose.yml
Created June 30, 2016 02:35
Show Gist options
  • Save IssacTran/feb018c2e4c3c55a4f0ee8ecbc81fa06 to your computer and use it in GitHub Desktop.
Save IssacTran/feb018c2e4c3c55a4f0ee8ecbc81fa06 to your computer and use it in GitHub Desktop.

Revisions

  1. @autodidacticon autodidacticon renamed this gist Jan 25, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @autodidacticon autodidacticon created this gist Jan 20, 2016.
    24 changes: 24 additions & 0 deletions docker_compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    zookeeper:
    image: wurstmeister/zookeeper
    ports:
    - "32772:2181"
    kafka:
    image: wurstmeister/kafka:latest
    ports:
    - "9092"
    links:
    - zookeeper:zk
    environment:
    KAFKA_ADVERTISED_HOST_NAME: 192.168.99.100
    KAFKA_CREATE_TOPICS: "model:1:1,route:1:1,track:1:1,identify:1:1"
    KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    kafka-manager:
    image: sheepkiller/kafka-manager
    ports:
    - "9000:9000"
    links:
    - zookeeper:zk
    environment:
    ZK_HOSTS: zk:2181