1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00

add kafka

This commit is contained in:
kev 2018-07-22 20:57:36 +08:00
parent ff74ef8c54
commit feb30f3129
3 changed files with 30 additions and 1 deletions

@ -44,6 +44,11 @@ A collection of delicious docker recipes.
- [ ] tshark
- [ ] youtube-upload
## Big Data
- [x] kafka-manager
- [x] zookeeper-arm
## IoT
- [x] hass :+1:
@ -149,7 +154,6 @@ A collection of delicious docker recipes.
- [x] grafana
- [x] hugo
- [x] hugo-arm
- [x] kafka-manager
- [x] jamapi
- [x] joomla
- [x] json-server
@ -257,6 +261,7 @@ A collection of delicious docker recipes.
- [ ] python
- [x] gogs :cn:
- [x] haproxy
- [x] wurstmeister/kafka
- [x] nextcloud
- [x] jazzdd/phpvirtualbox
- [x] jenkins

2
kafka/README.md Normal file

@ -0,0 +1,2 @@
kafka
=====

22
kafka/docker-compose.yml Normal file

@ -0,0 +1,22 @@
zookeeper:
image: zookeeper
ports:
- "2181:2181"
volumes:
- ./zookeeper/data:/data
- ./zookeeper/datalog:/datalog
restart: always
kafka:
image: wurstmeister/kafka
ports:
- "9092:9092"
links:
- zookeeper
volumes:
- ./kafka:/kafka
- /var/run/docker.sock:/var/run/docker.sock
environment:
- KAFKA_ADVERTISED_HOST_NAME=10.50.254.182
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
restart: always