commit
e678fafc07
@ -1950,3 +1950,30 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./react:/usr/src/app/react
|
- ./react:/usr/src/app/react
|
||||||
- /usr/src/app/react/node_modules
|
- /usr/src/app/react/node_modules
|
||||||
|
|
||||||
|
### kafka ####################################################
|
||||||
|
kafka:
|
||||||
|
image: wurstmeister/kafka
|
||||||
|
ports:
|
||||||
|
- "9092:9092"
|
||||||
|
environment:
|
||||||
|
KAFKA_BROKER_ID: 1
|
||||||
|
KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1
|
||||||
|
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://127.0.0.1:9092
|
||||||
|
KAFKA_MESSAGE_MAX_BYTES: 2000000
|
||||||
|
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH_HOST}/kafka:/kafka
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
|
||||||
|
### kafka-manager ###########################################
|
||||||
|
kafka-manager:
|
||||||
|
image: sheepkiller/kafka-manager
|
||||||
|
ports:
|
||||||
|
- 9020:9000
|
||||||
|
environment:
|
||||||
|
ZK_HOSTS: zookeeper:2181
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
Loading…
Reference in New Issue
Block a user