forked from beatlabs/patron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
132 lines (129 loc) · 2.64 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
version: '2.1'
services:
jaeger:
image: jaegertracing/all-in-one:1.20.0
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
networks:
examplenw:
aliases:
- jaeger
expose:
- "9411"
- "16686"
- "5778"
- "14268"
ports:
- "9411:9411"
- "16686:16686"
- "5778:5778"
- "14268:14268"
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
prometheus:
image: prom/prometheus:v2.22.0
networks:
examplenw:
aliases:
- prometheus
volumes:
- ${PWD}/config/prometheus.yml:/etc/prometheus/prometheus.yml
expose:
- "9090"
ports:
- "9090:9090"
rabbitmq:
image: rabbitmq:3-management
hostname: "rabbitmq"
networks:
examplenw:
aliases:
- rabbitmq
expose:
- "15672"
- "5672"
ports:
- "15672:15672"
- "5672:5672"
zookeeper:
image: confluentinc/cp-zookeeper:6.0.0
hostname: "zookeeper"
networks:
examplenw:
aliases:
- zookeeper
expose:
- "2181"
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
image: confluentinc/cp-kafka:6.0.0
hostname: "kafka"
networks:
examplenw:
aliases:
- kafka
expose:
- "9092"
- "29092"
ports:
- "9092:9092"
- "29092:29092"
depends_on:
- zookeeper
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
pg:
image: postgres:13
hostname: "pg"
networks:
examplenw:
aliases:
- pg
expose:
- "5432"
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=test123
localstack:
image: localstack/localstack:0.12.0
hostname: localstack
networks:
examplenw:
aliases:
- localstack
ports:
- "4566:4566"
environment:
- LOCALSTACK_SERVICES=sqs,sns
- LOCALSTACK_DEBUG=1
- LOCALSTACK_DATA_DIR=/tmp/localstack/data
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
- AWS_DEFAULT_REGION=eu-west-1
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
redis:
image: bitnami/redis:6.0
hostname: 'redis'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
networks:
examplenw:
aliases:
- cache
expose:
- "6379"
ports:
- "6379:6379"
networks:
examplenw: {}