You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2021/06/26 01:08:48 UTC

[james-project] 10/23: JAMES-3603 Add a docker-compose for Cassandra App

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 2eb65173d2179635e77097f9f9954ec9c9d85ae5
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Wed Jun 23 11:11:11 2021 +0700

    JAMES-3603 Add a docker-compose for Cassandra App
---
 server/apps/cassandra-app/docker-compose.yml | 36 ++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/server/apps/cassandra-app/docker-compose.yml b/server/apps/cassandra-app/docker-compose.yml
new file mode 100644
index 0000000..153fa1c
--- /dev/null
+++ b/server/apps/cassandra-app/docker-compose.yml
@@ -0,0 +1,36 @@
+version: '3'
+
+services:
+
+  james:
+    depends_on:
+      - elasticsearch
+      - cassandra
+      - tika
+    entrypoint: bash -c "java -Dworking.directory=/root/ -Dlogback.configurationFile=/root/conf/logback.xml -jar james-server.jar"
+    image: apache/james:cassandra-3.6.0
+    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
+

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org