-
Notifications
You must be signed in to change notification settings - Fork 473
/
docker-compose.yml
85 lines (77 loc) · 1.71 KB
/
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
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
version: '3'
services:
james:
depends_on:
cassandra:
condition: service_healthy
opensearch:
condition: service_started
tika:
condition: service_started
rabbitmq:
condition: service_started
s3:
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"
opensearch:
image: opensearchproject/opensearch:2.14.0
environment:
- discovery.type=single-node
- DISABLE_INSTALL_DEMO_CONFIG=true
- DISABLE_SECURITY_PLUGIN=true
networks:
james:
aliases:
- elasticsearch
cassandra:
image: cassandra:4.1.5
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
tika:
image: apache/tika:2.9.2.1
networks:
- james
rabbitmq:
image: rabbitmq:3.13.3-management
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
networks:
james: