-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (60 loc) · 1.41 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
version: '3.8'
services:
postgres1:
image: postgres:15
environment:
POSTGRES_DB: orders_db
POSTGRES_USER: user
POSTGRES_PASSWORD: password
ports:
- "5436:5432"
command: >
postgres
-c wal_level=logical
-c max_replication_slots=5
-c max_wal_senders=5
volumes:
- ./init-orders.sql:/docker-entrypoint-initdb.d/init.sql
postgres2:
image: postgres:15
environment:
POSTGRES_DB: customers_db
POSTGRES_USER: user
POSTGRES_PASSWORD: password
ports:
- "5437:5432"
command: >
postgres
-c wal_level=logical
-c max_replication_slots=5
-c max_wal_senders=5
volumes:
- ./init-customers.sql:/docker-entrypoint-initdb.d/init.sql
clickhouse:
image: clickhouse/clickhouse-server:latest
ports:
- "8123:8123"
- "9000:9000"
volumes:
- ./init-clickhouse.sql:/docker-entrypoint-initdb.d/init.sql
jobmanager:
image: flink:1.18.0
platform: linux/arm64
ports:
- "8081:8081"
command: jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager:
image: flink:1.18.0
platform: linux/arm64
depends_on:
- jobmanager
command: taskmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager.numberOfTaskSlots: 2