-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (58 loc) · 1.65 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '2'
services:
# zookeeper:
# container_name: zookeeper
# image: wurstmeister/zookeeper
# ports:
# - "2181:2181"
# kafka:
# container_name: kafka
# image: wurstmeister/kafka
# depends_on:
# - zookeeper
# ports:
# - "9092:9092"
# environment:
# KAFKA_LISTENERS: "INTERNAL://:29092,EXTERNAL://:9092"
# KAFKA_ADVERTISED_LISTENERS: "INTERNAL://kafka:29092,EXTERNAL://localhost:9092"
# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT"
# KAFKA_INTER_BROKER_LISTENER_NAME: "INTERNAL"
# KAFKA_ZOOKEEPER_SESSION_TIMEOUT: "6000"
# KAFKA_RESTART_ATTEMPTS: "10"
# KAFKA_RESTART_DELAY: "5"
# ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: "0"
# KAFKA_CREATE_TOPICS: "test2"
# KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# restart: always
#
# kafdrop:
# container_name: kafdrop
# image: obsidiandynamics/kafdrop
# ports:
# - "9000:9000"
# depends_on:
# - kafka
# environment:
# KAFKA_BROKERCONNECT: "kafka:29092"
# JVM_OPTS: "-Xms16M -Xmx48M -Xss180K -XX:-TieredCompilation -XX:+UseStringDeduplication -noverify"
redis:
image: redis
container_name: redis
hostname: redis
labels:
- "name=redis"
- "mode=standalone"
ports:
- "6379:6379"
redis-commander:
container_name: redis-commander
hostname: redis-commander
image: rediscommander/redis-commander
environment:
- REDIS_HOSTS=redis
ports:
- "8081:8081"
depends_on:
- redis