fix flink in docker-compose.yml

pull/26/head
3y 2 years ago
parent 73cf10bd2c
commit 9a1d541b5f

@ -56,7 +56,7 @@ services:
- "2181:2181" - "2181:2181"
networks: networks:
- app - app
austin-jobmanager: jobmanager:
image: flink:latest image: flink:latest
ports: ports:
- "8081:8081" - "8081:8081"
@ -64,20 +64,20 @@ services:
environment: environment:
- | - |
FLINK_PROPERTIES= FLINK_PROPERTIES=
jobmanager.rpc.address: austin-jobmanager jobmanager.rpc.address: jobmanager
- SET_CONTAINER_TIMEZONE=true - SET_CONTAINER_TIMEZONE=true
- CONTAINER_TIMEZONE=Asia/Shanghai - CONTAINER_TIMEZONE=Asia/Shanghai
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
austin-taskmanager: taskmanager:
image: flink:latest image: flink:latest
depends_on: depends_on:
- austin-jobmanager - jobmanager
command: taskmanager command: taskmanager
scale: 1 scale: 1
environment: environment:
- | - |
FLINK_PROPERTIES= FLINK_PROPERTIES=
jobmanager.rpc.address: austin-jobmanager jobmanager.rpc.address: jobmanager
taskmanager.numberOfTaskSlots: 1 taskmanager.numberOfTaskSlots: 1
- SET_CONTAINER_TIMEZONE=true - SET_CONTAINER_TIMEZONE=true
- CONTAINER_TIMEZONE=Asia/Shanghai - CONTAINER_TIMEZONE=Asia/Shanghai

Loading…
Cancel
Save