pinpoint-docker-fork/pinpoint-flink/docker-compose.yml

49 lines
1.3 KiB
YAML
Raw Normal View History

2018-05-11 09:30:45 +00:00
version: "3.6"
##
#to use this separately will require pinpoint-flink-job-{version}.jar built
#from pinpoint-flink module with correct properties under hbase.properties, pinpoint-flink.properties
2018-05-11 10:16:42 +00:00
#sample configs used to build pinpoint-flink/build/pinpoint-flink-job-{version}.jar is under build folder
2018-05-11 09:30:45 +00:00
##
services:
##flink
jobmanager:
2021-01-13 07:58:02 +00:00
build: Dockerfile
2018-05-11 09:30:45 +00:00
container_name: "${PINPOINT_FLINK_NAME}-jobmanager"
2021-01-13 07:58:02 +00:00
image: ${PINPOINT_FLINK_NAME}-flink:dev
2018-05-11 09:30:45 +00:00
expose:
- "6123"
ports:
- "${FLINK_WEB_PORT:-8081}:8081"
2021-01-13 07:58:02 +00:00
command: standalone-job -p 1 pinpoint-flink-job.jar -spring.profiles.active release
2018-05-11 09:30:45 +00:00
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
2021-01-13 07:58:02 +00:00
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
2018-05-11 09:30:45 +00:00
networks:
- pinpoint
taskmanager:
2021-01-13 07:58:02 +00:00
build: Dockerfile
2018-05-11 09:30:45 +00:00
container_name: "${PINPOINT_FLINK_NAME}-taskmanager"
2021-01-13 07:58:02 +00:00
image: ${PINPOINT_FLINK_NAME}-flink:dev
2018-05-11 09:30:45 +00:00
expose:
- "6121"
- "6122"
- "19994"
ports:
- "6121:6121"
- "6122:6122"
- "19994:19994"
depends_on:
- jobmanager
command: taskmanager
links:
- "jobmanager:jobmanager"
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
networks:
- pinpoint
networks:
pinpoint:
driver: bridge