This repository has been archived by the owner on Jun 16, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
102 lines (94 loc) · 2.22 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3.5'
services:
eventstore:
image: eventstore/eventstore:latest
hostname: eventstore
container_name: eventstore
restart: always
networks: [ "OpenMessage" ]
ports:
- 1113:1113
- 2112:2112
- 2113:2113
environment:
EVENTSTORE_CLUSTER_DNS: eventstore
EVENTSTORE_CLUSTER_SIZE: 1
EVENTSTORE_CLUSTER_GOSSIP_PORT: 2112
zookeeper:
image: confluentinc/cp-zookeeper:latest
hostname: zookeeper
container_name: zookeeper
restart: always
networks: [ "OpenMessage" ]
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
image: confluentinc/cp-enterprise-kafka:latest
hostname: kafka
container_name: kafka
restart: always
networks: [ "OpenMessage" ]
depends_on:
- zookeeper
ports:
- "9092:9092"
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_DELETE_TOPIC_ENABLE: "true"
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
rabbit:
image: rabbitmq:3-management-alpine
hostname: rabbitmq
container_name: rabbitmq
restart: always
networks: [ "OpenMessage" ]
ports:
- 4369:4369
- 5671:5671
- 5672:5672
- 15672:15672
- 25672:25672
redis:
image: redis:alpine
hostname: redis
container_name: redis
restart: always
networks: [ "OpenMessage" ]
ports:
- 6379:6379
redisUI:
image: rediscommander/redis-commander
hostname: redisui
container_name: redisui
restart: always
networks: [ "OpenMessage" ]
depends_on:
- redis
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- 8081:8081
localstack:
image: localstack/localstack
hostname: localstack
container_name: localstack
restart: always
networks: [ "OpenMessage" ]
environment:
SERVICES: "sns,sqs"
AWS_DEFAULT_REGION: eu-west-2
PORT_WEB_UI: 8082
AWS_ACCESS_KEY_ID: XXX
AWS_SECRET_ACCESS_KEY: XXX
DEBUG: 1
ports:
- 4575:4575
- 4576:4576
- 8082:8082
networks:
OpenMessage:
driver: bridge