-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 888 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 888 Bytes
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
version: '2.1'
services:
apache-pulsar:
image: haritkumar/apache-pulsar:2.4.0
ports:
- '8080:8080'
- '6650:6650'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/admin/v2/persistent/public/default"]
interval: 30s
timeout: 10s
retries: 5
networks:
- pulsarnet
pulsar-client:
image: haritkumar/pulsar-client:latest
depends_on:
apache-pulsar:
condition: service_healthy
ports:
- '9000:9000'
networks:
- pulsarnet
pulsar-express:
image: haritkumar/pulsar-express:latest
depends_on:
apache-pulsar:
condition: service_healthy
ports:
- '3000:3000'
environment:
- PE_CONNECTION_URL=http://apache-pulsar:8080
- PE_CONNECTION_NAME=test-cluster
networks:
- pulsarnet
networks:
pulsarnet: