forked from Aiven-Open/sql-cli-for-apache-flink-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 882 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "2.2"
services:
sql-client:
container_name: 'sql-client'
build:
context: .
dockerfile: sql-client/Dockerfile
depends_on:
- jobmanager
environment:
FLINK_JOBMANAGER_HOST: jobmanager
volumes:
- ./settings/:/settings
jobmanager:
image: flink:1.16.0-scala_2.12-java11
ports:
- "8081:8081"
command: jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
volumes:
- ./settings/:/settings
- ./data/:/data
taskmanager:
image: flink:1.16.0-scala_2.12-java11
depends_on:
- jobmanager
command: taskmanager
scale: 1
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager.numberOfTaskSlots: 10
volumes:
- ./settings/:/settings
- ./data/:/data