Sign up
internetarchive
/
crawling-for-nomore404
master
crawling-for-nomore404​/​wikipedia​/​producer​/​docker-compose.yml
1 contributor
30 lines (28 sloc) 603 Bytes
# docker-compose config for testing
---
version: '3'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
expose:
- "9092"
ports:
- "9092:9092"
environment:
KAFKA_ZOOKEEPER_CONNECT​: zookeeper:2181
KAFKA_BROKER_ID: 1
# critical config - kafka will not respond at
# no host but this.
KAFKA_ADVERTISED_HOST_NAME​: kafka
wikipedia_monitor:
build: .
image: wikipedia-monitor
ports:
- "5006:5006"
environment:
PORT: 5006
KAFKA_HOST: kafka:9092
© 2021 GitHub, Inc.
Terms
Privacy
Security
Status
Docs
Contact GitHubPricingAPITrainingBlogAbout
CodeCodeIssuesIssues2Pull requestsPull requests5ActionsActionsProjectsProjectsWikiWikiSecuritySecurityInsightsInsights Code Issues Pull requests Actions Projects Wiki Security Insights