blob: 3e4c7a618b7c0b3ee4827e07f482df7adade80f9 [file]
version: '3'
services:
james:
depends_on:
rspamd:
condition: service_healthy
image: apache/james:memory-latest
container_name: james
hostname: james.local
command:
- --generate-keystore
volumes:
- $PWD/target/apache-james-rspamd-jar-with-dependencies.jar:/root/extensions-jars/james-server-rspamd.jar
- $PWD/sample-configuration/extensions.properties:/root/conf/extensions.properties
- $PWD/sample-configuration/mailetcontainer_memory.xml:/root/conf/mailetcontainer.xml
- $PWD/sample-configuration/listeners.xml:/root/conf/listeners.xml
- $PWD/sample-configuration/rspamd.properties:/root/conf/rspamd.properties
- $PWD/sample-configuration/webadmin.properties:/root/conf/webadmin.properties
- $PWD/sample-configuration/healthcheck.properties:/root/conf/healthcheck.properties
ports:
- "80:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "8000:8000"
redis:
image: redis:7.2.5
command:
- "--loglevel"
- "debug"
clamav:
image: clamav/clamav:1.3
rspamd:
depends_on:
clamav:
condition: service_healthy
redis:
condition: service_started
container_name: rspamd
image: a16bitsysop/rspamd:3.8.4-r0-alpine3.20.0-r0
environment:
- REDIS=redis
- CLAMAV=clamav
- PASSWORD=admin
volumes:
- $PWD/sample-configuration/antivirus.conf:/etc/rspamd/override.d/antivirus.conf
- $PWD/sample-configuration/statistic.conf:/etc/rspamd/statistic.conf
ports:
- 11334:11334