version: "3.8"
services:
jobmanager:
image: flink
expose:
- "6123"
ports:
- "8081:8081"
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
command: jobmanager
taskmanager:
image: flink
expose:
- "6121"
- "6122"
depends_on:
- jobmanager
links:
- "jobmanager:jobmanager"
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
command: taskmanager
上一篇
Storm-单机部署
2023-04-26
下一篇
Spark-集群部署[DockerSwarm]
2023-04-26