Last active
October 1, 2015 20:28
-
-
Save gonzalo-bulnes/2a47db94789e8dcb2e23 to your computer and use it in GitHub Desktop.
Setup a development environment for Bottled Water using Docker Compose.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zookeeper: | |
image: confluent/zookeeper | |
ports: | |
- 2181 | |
kafka: | |
image: confluent/kafka | |
ports: | |
- "9092:9092" | |
links: | |
- zookeeper | |
environment: | |
KAFKA_LOG_CLEANUP_POLICY: compact | |
schema-registry: | |
image: confluent/schema-registry | |
ports: | |
- "8081:8081" | |
links: | |
- zookeeper | |
- kafka | |
environment: | |
SCHEMA_REGISTRY_AVRO_COMPATIBILITY_LEVEL: none | |
postgres: | |
image: confluent/postgres-bw:0.1 | |
ports: | |
- "5432:5432" | |
environment: | |
PGHOST: postgres | |
PGUSER: postgres | |
consumer: | |
image: confluent/tools | |
entrypoint: ['/confluent-tools.sh', 'kafka-avro-console-consumer'] | |
links: | |
- zookeeper | |
- kafka | |
- schema-registry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment