-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.test.yml
56 lines (56 loc) · 1.3 KB
/
docker-compose.test.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
version: "3"
services:
postgres:
image: "postgres"
env_file:
- database.env
volumes:
- database-data:/var/lib/postgresql/data/
ports:
- "5432:5432"
kafka:
image: confluentinc/cp-kafka:7.6.1
container_name: kafka
ports:
- "9093:9092"
environment:
- KAFKA_BROKER_ID=1
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2182
- KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:29094,PLAINTEXT_HOST://localhost:9093
- KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:29094,PLAINTEXT_HOST://0.0.0.0:9092
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
depends_on:
- zookeeper
zookeeper:
image: confluentinc/cp-zookeeper:7.6.1
container_name: zookeeper
ports:
- "9182:2182"
environment:
- ZOOKEEPER_CLIENT_PORT=2182
mitre-siphon:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
- "443:443"
- "80:80"
depends_on:
- postgres
- kafka
sut:
build:
context: .
dockerfile: test.Dockerfile
command: /app_test/scripts/sh/run-qa.sh
ports:
- "8080:8080"
- "443:443"
- "80:80"
depends_on:
- postgres
- kafka
volumes:
database-data: