blob: c91fb9a140c8e07cca21ac984c1adcb90016e488 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001version: "2.1"
2services:
3################################################################
4 elasticsearch:
5 build: .
6# context: elasticsearch
7 container_name: "sdc-es"
8 restart: "always"
9 image: "ecomp-nexus:51212/ecomp/sdc-elasticsearch:1610.2.13"
10 mem_limit: "1g"
11 memswap_limit: "1g"
12 logging:
13 driver: "json-file"
14 options:
15 max-size: "100m"
16 max-file: "10"
17 ports:
18 - "9200:9200"
19 - "9300:9300"
20 environment:
21# - ES_JAVA_OPTS="-Xms1g -Xmx1g"
22 - ES_HEAP_SIZE=1073741824
23 - HOST_IP:HOSTIP
24 - ENVNAME:DEP_ENV
25 volumes:
26 - /etc/localtime:/etc/localtime:ro
27 - /data/ES:/usr/share/elasticsearch/data
28 - /data/ASDC/environments:/root/chef-solo/environments
29 ulimits:
30 memlock: -1
31 nproc: 65535
32 nofile:
33 soft: 100000
34 hard: 100000
35
36
37 cassandra:
38 build: .
39# context: cassandra
40 container_name: "sdc-cs"
41 restart: "always"
42 image: "ecomp-nexus:51212/ecomp/sdc-cassandra:1610.2.13"
43 logging:
44 driver: "json-file"
45 options:
46 max-size: "100m"
47 max-file: "10"
48 ports:
49 - "9042:9042"
50 - "9160:9160"
51 environment:
52 - ES_HEAP_SIZE=1073741824
53 - HOST_IP:HOSTIP
54 - ENVNAME:DEP_ENV
55 volumes:
56 - /etc/localtime:/etc/localtime:ro
57 - /data/CS:/var/lib/cassandra
58 - /data/ASDC/environments:/root/chef-solo/environments
59 ulimits:
60 memlock: -1
61 nproc: 65535
62 nofile:
63 soft: 100000
64 hard: 100000
65
66
67
68 kibana:
69 build: .
70 container_name: "sdc-kbn"
71 restart: "always"
72 image: "ecomp-nexus:51212/ecomp/sdc-kibana:1610.2.13"
73 mem_limit: "1g"
74 memswap_limit: "1g"
75 logging:
76 driver: "json-file"
77 options:
78 max-size: "100m"
79 max-file: "10"
80 ports:
81 - "5601:5601"
82 environment:
83 - ENVNAME:DEP_ENV
84 volumes:
85 - /etc/localtime:/etc/localtime:ro
86 - /data/ASDC/environments:/root/chef-solo/environments
87 ulimits:
88 memlock: -1
89 nproc: 65535
90 nofile:
91 soft: 100000
92 hard: 100000
93 depends_on:
94 - elasticsearch
95
96
97
98
99 jettyBE:
100 build: .
101 container_name: "sdc-be"
102 image: "ecomp-nexus:51212/ecomp/sdc-backend:1610.2.13"
103 mem_limit: "3g"
104 memswap_limit: "3g"
105 logging:
106 driver: "json-file"
107 options:
108 max-size: "100m"
109 max-file: "10"
110 ports:
111 - "8080:8080"
112 - "8443:8443"
113 environment:
114 - HOST_IP:HOSTIP
115 - ENVNAME:DEP_ENV
116 volumes:
117 - /etc/localtime:/etc/localtime:ro
118 - /data/ASDC/logs/BE:/var/lib/jetty/logs
119 - /data/ASDC/environments:/root/chef-solo/environments
120 ulimits:
121 memlock: -1
122 nproc: 65535
123 nofile:
124 soft: 100000
125 hard: 100000
126
127
128
129
130 jettyFE:
131 build: .
132 container_name: "sdc-fe"
133 image: "ecomp-nexus:51212/ecomp/sdc-frontend:1610.2.13"
134 mem_limit: "1g"
135 memswap_limit: "1g"
136 logging:
137 driver: "json-file"
138 options:
139 max-size: "100m"
140 max-file: "10"
141 ports:
142 - "8181:8181"
143 - "9443:9443"
144 environment:
145 - HOST_IP:HOSTIP
146 - ENVNAME:DEP_ENV
147 volumes:
148 - /etc/localtime:/etc/localtime:ro
149 - /data/ASDC/logs/FE:/var/lib/jetty/logs
150 - /data/ASDC/environments:/root/chef-solo/environments
151 ulimits:
152 memlock: -1
153 nproc: 65535
154 nofile:
155 soft: 100000
156 hard: 100000