blob: e04e5aba556dd5e24e8ec4b7f2f155fde0d58993 [file] [log] [blame]
version: '3'
services:
james:
depends_on:
- opensearch
- cassandra
- tika
- rabbitmq
- s3
- clamav
image: apache/james:distributed-latest
container_name: james
hostname: james.local
volumes:
- $PWD/target/apache-james-clamav-3.8.0-SNAPSHOT-jar-with-dependencies.jar:/root/extensions-jars/james-server-clamav.jar
- $PWD/sample-configuration/keystore:/root/conf/keystore
- $PWD/sample-configuration/mailetcontainer.xml:/root/conf/mailetcontainer.xml
ports:
- "80:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "8000:8000"
opensearch:
image: opensearchproject/opensearch:2.1.0
environment:
- discovery.type=single-node
cassandra:
image: cassandra:3.11.10
ports:
- "9042:9042"
tika:
image: apache/tika:1.26
rabbitmq:
image: rabbitmq:3.8.18-management
ports:
- "5672:5672"
- "15672:15672"
s3:
image: zenko/cloudserver:8.2.6
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
clamav:
image: clamav/clamav:0.105