blob: ef932201e8176304db9c6d751385ebd55be3f1b9 [file] [log] [blame]
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-pop3-latest
container_name: james
hostname: james.local
ports:
- "80:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "8000:8000"
command:
- --generate-keystore
networks:
- james
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: