Skip to content

Instantly share code, notes, and snippets.

@danharvey
Created April 3, 2015 09:02
Show Gist options
  • Save danharvey/bc65726e8722904e0e18 to your computer and use it in GitHub Desktop.
Save danharvey/bc65726e8722904e0e18 to your computer and use it in GitHub Desktop.
Confluent stack docker-compose example.
kafka:
image: state/kafka:0.8.2.0-0
net: host
environment:
KAFKA_BROKER_ID: 0
KAFKA_ADVERTISED_HOST: localhost
schemaregistry:
image: state/confluent-schema-registry:1.0-2
net: host
environment:
ADVERTISED_HOSTNAME: localhost
kafkarest:
image: state/confluent-kafka-rest:1.0-2
net: host
environment:
ADVERTISED_HOSTNAME: localhost
zookeeper:
image: state/zookeeper
net: host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment