daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Mar 24th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.  
  3. volumes:
  4.   esn_james_conf:
  5.  
  6. services:
  7.  
  8.   esn:
  9.     container_name: esn
  10.     image: linagora/esn:1.4.3
  11.     ports:
  12.      - "8080:8080"
  13.     volumes:
  14.       - esn_james_conf:/var/www/docker/config/james:ro
  15.     environment:
  16.       - DOCKER_IP=localhost
  17.       - PROVISION=${PROVISION}
  18.       - CONFIG_DIR=/var/www/docker/config
  19.       - MONGO_HOST=mongo
  20.       - MONGO_PORT=27017
  21.       - MONGO_DBNAME=esn_docker
  22.       - MONGO_TIMEOUT=100000
  23.       - REDIS_HOST=redis
  24.       - REDIS_PORT=6379
  25.       - AMQP_HOST=rabbitmq
  26.       - AMQP_PORT=5672
  27.       - AMQP_PROTOCOL=amqp
  28.       - AMQP_USERNAME=guest
  29.       - AMQP_PASSWORD=guest
  30.       - WEB_HOST=${DOCKER_IP}
  31.       - WEB_PORT=8080
  32.       - DAV_SERVER_HOST=sabre
  33.       - DAV_SERVER_PORT=80
  34.       - ELASTICSEARCH_HOST=elasticsearch
  35.       - ELASTICSEARCH_PORT=9200
  36.       - ELASTICSEARCH_INIT_TIMEOUT=${ELASTICSEARCH_INIT_TIMEOUT}
  37.       - JMAP_SERVER_HOST=${DOCKER_IP}
  38.       - JMAP_SERVER_PORT=1080
  39.       - MAIL_BROWSER=false
  40.       - SMTP_HOST=${DOCKER_IP}
  41.       - SMTP_PORT=1025
  42.       - JAMES_WEBADMIN_HOST=${DOCKER_IP}
  43.       - JAMES_WEBADMIN_PORT=8000
  44.     links:
  45.       - redis
  46.       - mongo
  47.       - rabbitmq
  48.       - sabre
  49.       - elasticsearch
  50.   redis:
  51.     container_name: esn_redis
  52.     image: redis:latest
  53.     ports:
  54.       - "6379:6379"
  55.  
  56.   rabbitmq:
  57.     container_name: esn_rabbitmq
  58.     image: rabbitmq:3.6.5-management
  59.     hostname: esn-rabbit
  60.     ports:
  61.       - 5672:5672
  62.       - 15672:15672
  63.  
  64.   mongo:
  65.     container_name: esn_mongo
  66.     image: mongo:3.2
  67.     command: ["mongod", "--smallfiles"]
  68.     ports:
  69.       - "27017:27017"
  70.  
  71.   elasticsearch:
  72.     container_name: esn_elasticsearch
  73.     image: elasticsearch:2.3.2
  74.     ports:
  75.       - "9200:9200"
  76.     environment:
  77.       - ELASTICSEARCH_INIT_TIMEOUT=${ELASTICSEARCH_INIT_TIMEOUT}
  78.  
  79.   sabre:
  80.     container_name: esn_sabre
  81.     image: linagora/esn-sabre:1.4.3
  82.     ports:
  83.       - "8001:80"
  84.     environment:
  85.       - SABRE_MONGO_HOST=mongo
  86.       - SABRE_MONGO_PORT=27017
  87.       - ESN_MONGO_HOST=mongo
  88.       - ESN_MONGO_PORT=27017
  89.       - ESN_MONGO_DBNAME=esn_docker
  90.       - MONGO_TIMEOUT=100000
  91.       - ESN_HOST=esn
  92.       - ESN_PORT=8080
  93.       - REDIS_HOST=redis
  94.       - REDIS_PORT=6379
  95.       - AMQP_HOST=rabbitmq
  96.       - AMQP_PORT=5672
  97.     links:
  98.       - mongo
  99.  
  100.   james:
  101.     container_name: esn_james
  102.     entrypoint: bash -c "java -Dlogback.configurationFile=/root/conf/logback.xml -Dworking.directory=/root/ -jar james-server.jar"
  103.     image: linagora/james-project:latest
  104.     hostname: open-paas.org
  105.     depends_on:
  106.       - esn # to have configuration ready in shared volume
  107.     ports:
  108.       - "1080:80"
  109.       - "1025:25"
  110.       - "1110:110"
  111.       - "1143:143"
  112.       - "1465:465"
  113.       - "1587:587"
  114.       - "1993:993"
  115.       - "8000:8000"
  116.     volumes:
  117.       - esn_james_conf:/root/conf
  118.     links:
  119.       - cassandra:cassandra
  120.       - james_elastic:elasticsearch
  121.  
  122.   james_elastic:
  123.     container_name: esn_james_elasticsearch
  124.     image: elasticsearch:2.3.2
  125.  
  126.   cassandra:
  127.     container_name: esn_cassandra
  128.     image: cassandra:3.11.3
  129.     ports:
  130.       - "9042:9042"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top