aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
blob: f23c85102faa9ec3e25554beadc92b9a0fdce28c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
version: '2'

networks:
  dfcnet:
    external:
      name: dfcnet

services:

  consul-server:
    networks:
      - dfcnet
    container_name: dfc_consul
    image: docker.io/consul:1.4.4
    ports:
      - "8500:8500"
    volumes:
      - ./consul/consul/:/consul/config

  config-binding-service:
    networks:
      - dfcnet
    container_name: dfc_cbs
    image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.3.0
    ports:
      - "10000:10000"
    environment:
      - CONSUL_HOST=consul-server
    depends_on:
      - consul-server

  tls-init-container:
    container_name: dfc_tls-init-container
    image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:1.0.4
    networks:
      - dfcnet
    volumes:
      - ./tls:/opt/tls/shared:rw

  drsim:
    networks:
      - dfcnet
    environment:
      DRR_SIM_IP: ${DR_REDIR_SIM}
      DR_FEEDS: ${DR_FEEDS}
    image: drsim_common:latest
    ports:
      - "3906:3906"
      - "3907:3907"
    container_name: dfc_dr-sim
    command: node dmaapDR.js ${DR_TC}
    volumes:
      - ./tls:/app/cert/:rw
    depends_on:
      - tls-init-container

  drsim_redir:
    networks:
      - dfcnet
    environment:
      DR_SIM_IP: drsim
      DR_REDIR_FEEDS: ${DR_REDIR_FEEDS}
    image: drsim_common:latest
    ports:
      - "3908:3908"
      - "3909:3909"
    container_name: dfc_dr-redir-sim
    command: node dmaapDR_redir.js ${DR_REDIR_TC}
    volumes:
      - ./tls:/app/cert/:rw
    depends_on:
      - tls-init-container

  mrsim:
    networks:
      - dfcnet
    environment:
      SFTP_SIMS: ${SFTP_SIMS}
      FTPES_SIMS: ${FTPES_SIMS}
      HTTP_SIMS: ${HTTP_SIMS}
      HTTP_JWT_SIMS: ${HTTP_JWT_SIMS}
      HTTPS_SIMS: ${HTTPS_SIMS}
      HTTPS_SIMS_NO_AUTH: ${HTTPS_SIMS_NO_AUTH}
      HTTPS_JWT_SIMS: ${HTTPS_JWT_SIMS}
      NUM_FTP_SERVERS: ${NUM_FTP_SERVERS}
      NUM_HTTP_SERVERS: ${NUM_HTTP_SERVERS}
      MR_GROUPS: ${MR_GROUPS}
      MR_FILE_PREFIX_MAPPING: ${MR_FILE_PREFIX_MAPPING}
    image: mrsim:latest
    ports:
      - "2222:2222"
      - "2223:2223"
    container_name: dfc_mr-sim
    command: python mr-sim.py ${MR_TC}
    volumes:
      - ./tls:/app/cert/:rw
    depends_on:
      - tls-init-container

  sftp-server0:
    networks:
      - dfcnet
    container_name: dfc_sftp-server0
    image: atmoz/sftp:alpine
    ports:
      - "1022:22"
    restart: on-failure
    command: onap:pano:1001

  sftp-server1:
    networks:
      - dfcnet
    container_name: dfc_sftp-server1
    image: atmoz/sftp:alpine
    ports:
      - "1023:22"
    restart: on-failure
    command: onap:pano:1001

  sftp-server2:
    networks:
      - dfcnet
    container_name: dfc_sftp-server2
    image: atmoz/sftp:alpine
    ports:
      - "1024:22"
    restart: on-failure
    command: onap:pano:1001

  sftp-server3:
    networks:
      - dfcnet
    container_name: dfc_sftp-server3
    image: atmoz/sftp:alpine
    ports:
      - "1025:22"
    restart: on-failure
    command: onap:pano:1001

  sftp-server4:
    networks:
      - dfcnet
    container_name: dfc_sftp-server4
    image: atmoz/sftp:alpine
    ports:
      - "1026:22"
    restart: on-failure
    command: onap:pano:1001

  ftpes-server-vsftpd0:
    networks:
      - dfcnet
    container_name: dfc_ftpes-server-vsftpd0
    image: ftpes_vsftpd:latest
    ports:
      - "1032:21"
    environment:
      FTP_USER: onap
      FTP_PASSWORD: pano
    restart: on-failure
    command: vsftpd /etc/vsftpd_ssl.conf
    volumes:
      - ./tls:/etc/ssl/private/:rw
    depends_on:
      - tls-init-container

  ftpes-server-vsftpd1:
    networks:
      - dfcnet
    container_name: dfc_ftpes-server-vsftpd1
    image: ftpes_vsftpd:latest
    ports:
      - "1033:21"
    environment:
      FTP_USER: onap
      FTP_PASSWORD: pano
    restart: on-failure
    command: vsftpd /etc/vsftpd_ssl.conf
    volumes:
      - ./tls:/etc/ssl/private/:rw
    depends_on:
      - tls-init-container

  ftpes-server-vsftpd2:
    networks:
      - dfcnet
    container_name: dfc_ftpes-server-vsftpd2
    image: ftpes_vsftpd:latest
    ports:
      - "1034:21"
    environment:
      FTP_USER: onap
      FTP_PASSWORD: pano
    restart: on-failure
    command: vsftpd /etc/vsftpd_ssl.conf
    volumes:
      - ./tls:/etc/ssl/private/:rw
    depends_on:
      - tls-init-container

  ftpes-server-vsftpd3:
    networks:
      - dfcnet
    container_name: dfc_ftpes-server-vsftpd3
    image: ftpes_vsftpd:latest
    ports:
      - "1035:21"
    environment:
      FTP_USER: onap
      FTP_PASSWORD: pano
    restart: on-failure
    command: vsftpd /etc/vsftpd_ssl.conf
    volumes:
      - ./tls:/etc/ssl/private/:rw
    depends_on:
      - tls-init-container

  ftpes-server-vsftpd4:
    networks:
      - dfcnet
    container_name: dfc_ftpes-server-vsftpd4
    image: ftpes_vsftpd:latest
    ports:
      - "1036:21"
    environment:
      FTP_USER: onap
      FTP_PASSWORD: pano
    restart: on-failure
    command: vsftpd /etc/vsftpd_ssl.conf
    volumes:
      - ./tls:/etc/ssl/private/:rw
    depends_on:
      - tls-init-container

  http-https-server0:
    networks:
      - dfcnet
    container_name: dfc_http-https-server0
    image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
    ports:
      - "81:80"
      - "444:443"
      - "8081:8080"
      - "32001:32000"
      - "32101:32100"
    restart: on-failure
    volumes:
      - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs/:rw

  http-https-server1:
    networks:
      - dfcnet
    container_name: dfc_http-https-server1
    image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
    ports:
      - "82:80"
      - "445:443"
      - "8082:8080"
      - "32002:32000"
      - "32102:32100"
    restart: on-failure
    volumes:
      - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs/:rw

  http-https-server2:
    networks:
      - dfcnet
    container_name: dfc_http-https-server2
    image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
    ports:
      - "83:80"
      - "446:443"
      - "8083:8080"
      - "32003:32000"
      - "32103:32100"
    restart: on-failure
    volumes:
      - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs/:rw

  http-https-server3:
    networks:
      - dfcnet
    container_name: dfc_http-https-server3
    image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
    ports:
      - "84:80"
      - "447:443"
      - "8084:8080"
      - "32004:32000"
      - "32104:32100"
    restart: on-failure
    volumes:
      - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs/:rw

  http-https-server4:
    networks:
      - dfcnet
    container_name: dfc_http-https-server4
    image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
    ports:
      - "85:80"
      - "448:443"
      - "8085:8080"
      - "32005:32000"
      - "32105:32100"
    restart: on-failure
    volumes:
      - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs/:rw