quantranhong1999 commented on code in PR #1102: URL: https://github.com/apache/james-project/pull/1102#discussion_r938656473
########## third-party/rspamd/docker-compose-distributed.yml: ########## @@ -0,0 +1,60 @@ +version: '3' + +services: + + james: + depends_on: + - elasticsearch + - cassandra + - tika + - rabbitmq + - s3 + image: apache/james:distributed-latest + container_name: james + hostname: james.local + volumes: + - $PWD/target/apache-james-rspamd-3.8.0-SNAPSHOT-jar-with-dependencies.jar:/root/extensions-jars/james-server-rspamd.jar + - $PWD/sample-configuration/keystore:/root/conf/keystore + - $PWD/sample-configuration/extensions.properties:/root/conf/extensions.properties + - $PWD/sample-configuration/mailetcontainer_distributed.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 + 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 Review Comment: Missing RSpamD and Redis on Distributed one? ########## third-party/rspamd/sample-configuration/extensions.properties: ########## @@ -1 +1,2 @@ -guice.extension.module=org.apache.james.rspamd.module.RSpamDModule \ No newline at end of file +guice.extension.module=org.apache.james.rspamd.module.RSpamDModule +guice.extension.task=org.apache.james.rspamd.module.RSpamDTaskExtensionModule Review Comment: Q: Do we still need `guice.extension.module=org.apache.james.rspamd.module.RSpamDModule` when we declared addtional route in `webadmin.properties` and DTO modules in `RSpamDTaskExtensionModule` ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
