-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-compose.yml
More file actions
38 lines (37 loc) · 1.2 KB
/
env-compose.yml
File metadata and controls
38 lines (37 loc) · 1.2 KB
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
services:
taskmanager:
image: hudi_local_tests:flink1.18__hudi_1.0.2
hostname: taskmanager
depends_on:
- jobmanager
command: taskmanager
scale: 4
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager.numberOfTaskSlots: 2
state.checkpoint-storage: filesystem
state.checkpoints.dir: file:///opt/flink/examples/hudi_demo/checkpoints
state.savepoints.dir: file:///opt/flink/examples/hudi_demo/savepoints
volumes:
- ./hudi_demo:/opt/flink/examples/hudi_demo
jobmanager:
image: hudi_local_tests:flink1.18__hudi_1.0.2
container_name: jobmanager
hostname: jobmanager
ports:
- "8082:8082"
command: jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
rest.address: jobmanager
rest.port: 8082
state.checkpoint-storage: filesystem
state.checkpoints.dir: file:///opt/flink/examples/hudi_demo/checkpoints
state.savepoints.dir: file:///opt/flink/examples/hudi_demo/savepoints
volumes:
- ./test_scripts:/opt/flink/examples/test_scripts
- ./hudi_demo:/opt/flink/examples/hudi_demo