This repository was archived by the owner on Nov 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
89 lines (80 loc) · 2.06 KB
/
docker-compose.yml
File metadata and controls
89 lines (80 loc) · 2.06 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
87
88
89
version: "3"
services:
redis:
image: redis:latest
ports:
- "6380:6379"
volumes:
- redis-data:/data
rabbitmq:
image: rabbitmq:management
ports:
- "15672:15672" # Management UI
- "5672:5672"
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
localstack:
image: localstack/localstack:latest
ports:
- "4566:4566"
- "4571:4571"
environment:
- SERVICES=sns,sqs
- DEBUG=1
- DATA_DIR=/tmp/localstack/data
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- localstack-data:/tmp/localstack
- "/var/run/docker.sock:/var/run/docker.sock"
zookeeper:
image: "bitnami/zookeeper:latest"
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
ports:
- "2182:2181"
kafka:
image: "bitnami/kafka:latest"
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_CFG_audio=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
- KAFKA_CFG_ADVERTISED_audio=PLAINTEXT://kafka:9092,EXTERNAL://localhost:9094
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
ports:
- "9095:9092"
- "9096:9093"
- "9097:9094"
depends_on:
- zookeeper
kafka-ui:
image: "provectuslabs/kafka-ui:latest"
ports:
- "8088:8080"
environment:
- KAFKA_CLUSTERS_0_NAME="geniusrise-spout-test"
- KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
depends_on:
- kafka
postgres:
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: geniusrise
ports:
- "5433:5432"
mosquitto:
image: eclipse-mosquitto:latest
ports:
- "1883:1883" # MQTT
- "9001:9001" # Websockets
volumes:
- mosquitto-data:/mosquitto/data
- mosquitto-log:/mosquitto/log
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
volumes:
redis-data:
localstack-data:
mosquitto-data:
mosquitto-log: