mirror of https://github.com/ZhongFuCheng3y/austin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
666 B
28 lines
666 B
version: "2.2"
|
|
services:
|
|
jobmanager:
|
|
image: flink:latest
|
|
ports:
|
|
- "8081:8081"
|
|
command: jobmanager
|
|
environment:
|
|
- |
|
|
FLINK_PROPERTIES=
|
|
jobmanager.rpc.address: jobmanager
|
|
- SET_CONTAINER_TIMEZONE=true
|
|
- CONTAINER_TIMEZONE=Asia/Shanghai
|
|
- TZ=Asia/Shanghai
|
|
taskmanager:
|
|
image: flink:latest
|
|
depends_on:
|
|
- jobmanager
|
|
command: taskmanager
|
|
scale: 1
|
|
environment:
|
|
- |
|
|
FLINK_PROPERTIES=
|
|
jobmanager.rpc.address: jobmanager
|
|
taskmanager.numberOfTaskSlots: 2
|
|
- SET_CONTAINER_TIMEZONE=true
|
|
- CONTAINER_TIMEZONE=Asia/Shanghai
|
|
- TZ=Asia/Shanghai |