-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (30 loc) · 879 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (30 loc) · 879 Bytes
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
version: '3.8'
services:
hapi-fhir:
image: hapiproject/hapi:latest
container_name: hapi-fhir
ports:
- "8080:8080"
zookeeper:
image: bitnami/zookeeper:latest
container_name: zookeeper
environment:
ALLOW_ANONYMOUS_LOGIN: "yes"
ports:
- "2181:2181"
kafka:
image: bitnami/kafka:latest
container_name: kafka
environment:
KAFKA_BROKER_ID: 1
KAFKA_CFG_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_CFG_LISTENERS: "PLAINTEXT://:9092"
KAFKA_CFG_ADVERTISED_LISTENERS: "PLAINTEXT://localhost:9092"
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "true"
KAFKA_MESSAGE_MAX_BYTES: 20000000 # Increase max message size to 20MB
KAFKA_REPLICA_FETCH_MAX_BYTES: 20000000 # Increase fetch size
ALLOW_PLAINTEXT_LISTENER: "yes"
depends_on:
- zookeeper
ports:
- "9092:9092"