-
Notifications
You must be signed in to change notification settings - Fork 462
/
docker-compose-with-pulsar.yml
96 lines (89 loc) · 2.1 KB
/
docker-compose-with-pulsar.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: '3'
services:
james:
depends_on:
cassandra:
condition: service_healthy
opensearch:
condition: service_started
rabbitmq:
condition: service_started
s3:
condition: service_started
pulsar:
condition: service_started
image: apache/james:distributed-latest
container_name: james
hostname: james.local
command:
- --generate-keystore
networks:
- james
ports:
- "80:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "8000:8000"
volumes:
- ./sample-configuration/pulsar.properties:/root/conf/pulsar.properties
- ./sample-configuration/queue-pulsar.properties:/root/conf/queue.properties
opensearch:
image: opensearchproject/opensearch:2.1.0
container_name: opensearch
environment:
- discovery.type=single-node
- DISABLE_INSTALL_DEMO_CONFIG=true
- DISABLE_SECURITY_PLUGIN=true
networks:
james:
aliases:
- elasticsearch
cassandra:
container_name: cassandra
image: cassandra:4.1.3
ports:
- "9042:9042"
healthcheck:
test: [ "CMD", "cqlsh", "-e", "describe keyspaces" ]
interval: 3s
timeout: 20s
retries: 5
environment:
- JVM_OPTS=-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=1
networks:
- james
rabbitmq:
image: rabbitmq:3.12.1-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
networks:
- james
s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
- SCALITY_SECRET_ACCESS_KEY=secretKey1
- S3BACKEND=mem
- LOG_LEVEL=trace
- REMOTE_MANAGEMENT_DISABLE=1
networks:
- james
pulsar:
image: apachepulsar/pulsar:2.10.1
container_name: pulsar
command: >
bin/pulsar standalone
ports:
- "8080:8080"
- "6650:6650"
networks:
- james
networks:
james: