-
Notifications
You must be signed in to change notification settings - Fork 526
/
docker-compose.yml
68 lines (62 loc) · 1.63 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
version: "3.9"
services:
db:
image: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
ports:
- '5432:5432'
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 5s
timeout: 5s
retries: 5
zookeeper:
image: confluentinc/cp-zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ZOOKEEPER_SYNC_LIMIT: 2
kafka:
image: confluentinc/cp-kafka
ports:
- 29092:29092
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_LISTENERS: INTERNAL://0.0.0.0:9092,OUTSIDE://0.0.0.0:29092
KAFKA_ADVERTISED_LISTENERS: INTERNAL://kafka:9092,OUTSIDE://${HOST_IP}:29092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL:PLAINTEXT,OUTSIDE:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
healthcheck:
test: nc -z ${HOST_IP} 29092 || exit -1
interval: 5s
timeout: 10s
retries: 5
rw-build-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20221016
volumes:
- ..:/risingwave
regress-test-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20221016
depends_on:
db:
condition: service_healthy
volumes:
- ..:/risingwave
benchmark-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20221007
depends_on:
- kafka
volumes:
- ..:/risingwave
release-env:
image: quay.io/pypa/manylinux2014_x86_64
working_dir: /mnt
volumes:
- ..:/mnt