-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
86 lines (80 loc) · 1.99 KB
/
docker-compose.yaml
File metadata and controls
86 lines (80 loc) · 1.99 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: "3.9"
services:
postgres:
image: postgres:10.6
container_name: gdk-postgres
ports:
- "5432:5432"
environment:
- POSTGRES_USER=unicorn_user
- POSTGRES_PASSWORD=magical_password
- POSTGRES_DB=rizalgowandy-gdk
tty: true
restart: unless-stopped
redis_cluster: # Mimic ElastiCache with Redis Cluster Mode On
image: grokzen/redis-cluster:5.0.12
container_name: gdk-redis_cluster
environment:
- IP=0.0.0.0
ports:
- "7000-7005:7000-7005"
restart: unless-stopped
nsqlookupd:
image: nsqio/nsq:v1.2.0
container_name: gdk-nsqlookupd
command: /nsqlookupd
ports:
- "4160:4160"
- "4161:4161"
restart: unless-stopped
nsqd:
image: nsqio/nsq:v1.2.0
container_name: gdk-nsqd
command: /nsqd --broadcast-address=nsqd --lookupd-tcp-address=nsqlookupd:4160
depends_on:
- nsqlookupd
ports:
- "4150:4150"
- "4151:4151"
restart: unless-stopped
nsqadmin:
image: nsqio/nsq:v1.2.0
container_name: gdk-nsqadmin
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
depends_on:
- nsqlookupd
ports:
- "4171:4171"
restart: unless-stopped
redpanda: # supports kafka
image: docker.vectorized.io/vectorized/redpanda:v21.9.5
container_name: gdk-redpanda
ports:
- "9092:9092"
- "29092:29092"
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- 0M
- --overprovisioned
- --node-id
- '0'
- --kafka-addr
- PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
- --advertise-kafka-addr
- PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092
restart: unless-stopped
kafdrop: # kafka-ui
image: obsidiandynamics/kafdrop:3.27.0
container_name: gdk-kafdrop
ports:
- "9100:9000"
environment:
- KAFKA_BROKERCONNECT=redpanda:29092
- JVM_OPTS=-Xms32M -Xmx64M
depends_on:
- redpanda
restart: unless-stopped