-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
52 lines (47 loc) · 3.44 KB
/
docker-compose.yaml
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
version: "3"
services:
nginx:
container_name: nginx
restart: always
build: ./nginx
ports:
- '3000:80'
zookeeper:
image: wurstmeister/zookeeper
container_name: zookeeper
expose:
- "2181"
kafka:
image: wurstmeister/kafka
container_name: kafka
depends_on:
- zookeeper
expose:
- "9092"
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT
KAFKA_LISTENERS: INSIDE://kafka:9092
KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:9092
KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
student-data-form:
build: ./student-data-form-service
container_name: student-data-form
environment:
KAFKA_HOST: kafka
KAFKA_PORT: 9092
KAFKA_TOPIC: student-data
PORT: 3000
student-data-form-consumer:
build: ./student-data-form-consumer-service
container_name: student-data-form-consumer
environment:
KAFKA_HOST: kafka
KAFKA_PORT: 9092
KAFKA_TOPIC: student-data
KAFKA_CONSUMER_GROUP: student-data-form-consumers
EVENT_BATCH_SIZE: '5'
ENV: Docker
# encoded keys from Kubernetes secret
PRIVATE_KEY: TUlJRXZnSUJBREFOQmdrcWhraUc5dzBCQVFFRkFBU0NCS2d3Z2dTa0FnRUFBb0lCQVFEY21PbnowQjBzdlM1ckpjYUNRbHlMMFBmbFlIeUZqVWpTd0FhM2c0Wk9sYUgyNWtGVG9nU1FKaWV5NHoxaWRLSTV3M0QvZWFkbmpkbURSenMzZkJncExPa05XdkVFMDc3MW1mS200ek9kUVI3a3dtbjFDY0ROK3hFb0ZuUXBxd3B4UnhqZmlXMmRiMm43QzlCTnJMUno2UlFPQmFMNEx5RDYycWlCRCtlc3JRN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