forked from delta-io/kafka-delta-ingest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (76 loc) · 1.94 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
---
version: '3.9'
services:
kafka:
image: docker.redpanda.com/redpandadata/redpanda:v23.1.13
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- 0M
- --overprovisioned
- --node-id
- '0'
- --kafka-addr
- PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
- --advertise-kafka-addr
- PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092
- --pandaproxy-addr
- PLAINTEXT://0.0.0.0:28082,OUTSIDE://0.0.0.0:8082
- --advertise-pandaproxy-addr
- PLAINTEXT://redpanda:28082,OUTSIDE://localhost:8082
networks:
default:
aliases:
- redpanda
ports:
- 8082:8082
- 9092:9092
- 28082:28082
- 29092:29092
schema-registry:
image: confluentinc/cp-schema-registry:7.4.0
hostname: schema-registry
container_name: schema-registry
depends_on:
- kafka
ports:
- "8081:8081"
environment:
SCHEMA_REGISTRY_HOST_NAME: schema-registry
SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: 'redpanda:29092'
SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:8081
localstack:
image: localstack/localstack:0.13.1
ports:
- "4566:4566"
environment:
- SERVICES=s3,dynamodb
- DEBUG=1
- DATA_DIR=/tmp/localstack/data
- DOCKER_HOST=unix:///var/run/docker.sock
- HOST_TMP_FOLDER=${TMPDIR}
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:4566/health" ]
azurite:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- "10000:10000"
- "10001:10001"
setup:
build:
context: .
dockerfile: contrib/Dockerfile.setup
depends_on:
- kafka
- localstack
- azurite
- schema-registry
entrypoint: "/bin/bash"
command:
- /localstack-setup_emails.sh
volumes:
- ./bin/localstack-setup_emails.sh:/localstack-setup_emails.sh
- "./tests/data/emails/:/data/emails"