-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yaml
46 lines (44 loc) · 1.43 KB
/
docker-compose.yaml
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
42
43
44
45
46
version: '3.7'
services:
jobmanager:
image: flink:1.14.4-scala_2.12-java11
ports:
- "8081:8081"
command: jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager:
image: flink:1.14.4-scala_2.12-java11
depends_on:
- jobmanager
command: taskmanager
scale: 1
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
taskmanager.numberOfTaskSlots: 2
pulsar:
image: apachepulsar/pulsar:2.9.1
container_name: pulsar
ports:
- "8080:8080"
- "6650:6650"
environment:
PULSAR_MEM: " -Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g"
# - PULSAR_MEM=" -Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g -Dpulsar.auth.basic.conf=/pulsar/conf/.htpasswd"
systemTopicEnabled: "true"
topicLevelPoliciesEnabled: "true"
transactionCoordinatorEnabled: "true"
# - authenticationEnabled=true
# - authorizationEnabled=true
# - authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderBasic
# - superUserRoles=super
# - brokerClientAuthenticationPlugin=org.apache.pulsar.client.impl.auth.AuthenticationBasic
# - brokerClientAuthenticationParameters={\"userId\":\"super\",\"password\":\"superpass\"}
command: >
/bin/bash -c
" bin/apply-config-from-env.py conf/standalone.conf
&& bin/pulsar standalone"