aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/docker-compose.yml
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 10:28:42 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 10:51:01 +0200
commit451a3400b76511393c62a444f588a4ed15f4a549 (patch)
treee4f5873a863d1d3e55618eab48b83262f874719d /sdc-os-chef/docker-compose.yml
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'sdc-os-chef/docker-compose.yml')
-rw-r--r--sdc-os-chef/docker-compose.yml156
1 files changed, 156 insertions, 0 deletions
diff --git a/sdc-os-chef/docker-compose.yml b/sdc-os-chef/docker-compose.yml
new file mode 100644
index 0000000000..c91fb9a140
--- /dev/null
+++ b/sdc-os-chef/docker-compose.yml
@@ -0,0 +1,156 @@
+version: "2.1"
+services:
+################################################################
+ elasticsearch:
+ build: .
+# context: elasticsearch
+ container_name: "sdc-es"
+ restart: "always"
+ image: "ecomp-nexus:51212/ecomp/sdc-elasticsearch:1610.2.13"
+ mem_limit: "1g"
+ memswap_limit: "1g"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ max-file: "10"
+ ports:
+ - "9200:9200"
+ - "9300:9300"
+ environment:
+# - ES_JAVA_OPTS="-Xms1g -Xmx1g"
+ - ES_HEAP_SIZE=1073741824
+ - HOST_IP:HOSTIP
+ - ENVNAME:DEP_ENV
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - /data/ES:/usr/share/elasticsearch/data
+ - /data/ASDC/environments:/root/chef-solo/environments
+ ulimits:
+ memlock: -1
+ nproc: 65535
+ nofile:
+ soft: 100000
+ hard: 100000
+
+
+ cassandra:
+ build: .
+# context: cassandra
+ container_name: "sdc-cs"
+ restart: "always"
+ image: "ecomp-nexus:51212/ecomp/sdc-cassandra:1610.2.13"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ max-file: "10"
+ ports:
+ - "9042:9042"
+ - "9160:9160"
+ environment:
+ - ES_HEAP_SIZE=1073741824
+ - HOST_IP:HOSTIP
+ - ENVNAME:DEP_ENV
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - /data/CS:/var/lib/cassandra
+ - /data/ASDC/environments:/root/chef-solo/environments
+ ulimits:
+ memlock: -1
+ nproc: 65535
+ nofile:
+ soft: 100000
+ hard: 100000
+
+
+
+ kibana:
+ build: .
+ container_name: "sdc-kbn"
+ restart: "always"
+ image: "ecomp-nexus:51212/ecomp/sdc-kibana:1610.2.13"
+ mem_limit: "1g"
+ memswap_limit: "1g"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ max-file: "10"
+ ports:
+ - "5601:5601"
+ environment:
+ - ENVNAME:DEP_ENV
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - /data/ASDC/environments:/root/chef-solo/environments
+ ulimits:
+ memlock: -1
+ nproc: 65535
+ nofile:
+ soft: 100000
+ hard: 100000
+ depends_on:
+ - elasticsearch
+
+
+
+
+ jettyBE:
+ build: .
+ container_name: "sdc-be"
+ image: "ecomp-nexus:51212/ecomp/sdc-backend:1610.2.13"
+ mem_limit: "3g"
+ memswap_limit: "3g"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ max-file: "10"
+ ports:
+ - "8080:8080"
+ - "8443:8443"
+ environment:
+ - HOST_IP:HOSTIP
+ - ENVNAME:DEP_ENV
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - /data/ASDC/logs/BE:/var/lib/jetty/logs
+ - /data/ASDC/environments:/root/chef-solo/environments
+ ulimits:
+ memlock: -1
+ nproc: 65535
+ nofile:
+ soft: 100000
+ hard: 100000
+
+
+
+
+ jettyFE:
+ build: .
+ container_name: "sdc-fe"
+ image: "ecomp-nexus:51212/ecomp/sdc-frontend:1610.2.13"
+ mem_limit: "1g"
+ memswap_limit: "1g"
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ max-file: "10"
+ ports:
+ - "8181:8181"
+ - "9443:9443"
+ environment:
+ - HOST_IP:HOSTIP
+ - ENVNAME:DEP_ENV
+ volumes:
+ - /etc/localtime:/etc/localtime:ro
+ - /data/ASDC/logs/FE:/var/lib/jetty/logs
+ - /data/ASDC/environments:/root/chef-solo/environments
+ ulimits:
+ memlock: -1
+ nproc: 65535
+ nofile:
+ soft: 100000
+ hard: 100000