| version: '3' |
| |
| services: |
| |
| james: |
| depends_on: |
| - elasticsearch |
| - cassandra |
| - tika |
| - rabbitmq |
| - s3 |
| entrypoint: bash -c "java -Dworking.directory=/root/ -Dlogback.configurationFile=/root/conf/logback.xml -jar james-server.jar" |
| 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" |
| |
| elasticsearch: |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2 |
| 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 |
| |