forked from blueshift-labs/pulserl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (31 loc) · 906 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
version: '3.2'
services:
pulsar:
image: apachepulsar/pulsar:2.7.1
ports:
- "6650:6650"
- "6651:6651"
- "8443:8443"
networks:
- pulsar
volumes:
- type: bind
source: ./config/certs
target: /pulsar/certs
environment:
- tlsEnabled=true
- PULSAR_PREFIX_brokerServicePortTls=6651
- PULSAR_PREFIX_webServicePortTls=8443
- tlsAllowInsecureConnection=false
- tlsRequireTrustedClientCertOnConnect=false
- tlsCertificateFilePath=/pulsar/certs/broker.cert.pem
- tlsKeyFilePath=/pulsar/certs/broker.key-pk8.pem
- tlsTrustCertsFilePath=/pulsar/certs/ca.cert.pem
- PULSAR_MEM=-Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g
command: >
/bin/bash -c
"bin/apply-config-from-env.py ../../pulsar/conf/standalone.conf
&& bin/pulsar standalone"
networks:
pulsar:
driver: bridge