mirror of https://github.com/ZhongFuCheng3y/austin
parent
d17c51d9c5
commit
1ddece43fe
@ -0,0 +1,28 @@
|
|||||||
|
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
|
Loading…
Reference in new issue