blob: 78fa7cb1bbc369e693d05d43083416832cd87c9d [file] [log] [blame]
BjornMagnussonXA08294062019-03-26 12:48:27 +00001version: '2'
BjornMagnussonXAf4e18362019-04-10 13:04:08 +00002
3networks:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +00004 dfcnet:
5 external:
6 name: dfcnet
7
BjornMagnussonXA08294062019-03-26 12:48:27 +00008services:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +00009
10 consul-server:
11 networks:
12 - dfcnet
13 container_name: dfc_consul
14 image: docker.io/consul:1.4.4
15 ports:
16 - "8500:8500"
17 volumes:
18 - ./consul/consul/:/consul/config
19
20 config-binding-service:
21 networks:
22 - dfcnet
23 container_name: dfc_cbs
24 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.3.0
25 ports:
26 - "10000:10000"
27 environment:
28 - CONSUL_HOST=consul-server
29 depends_on:
30 - consul-server
31
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000032 tls-init-container:
33 container_name: dfc_tls-init-container
34 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container
35 networks:
36 - dfcnet
37 volumes:
38 - ./tls:/opt/tls/shared:rw
39
BjornMagnussonXA08294062019-03-26 12:48:27 +000040 drsim:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000041 networks:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000042 - dfcnet
43 environment:
44 DRR_SIM_IP: ${DR_REDIR_SIM}
45 DR_FEEDS: ${DR_FEEDS}
BjornMagnussonXA08294062019-03-26 12:48:27 +000046 image: drsim_common:latest
47 ports:
48 - "3906:3906"
49 - "3907:3907"
50 container_name: dfc_dr-sim
51 command: node dmaapDR.js ${DR_TC}
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000052 volumes:
53 - ./tls:/app/cert/:rw
54 depends_on:
55 - tls-init-container
BjornMagnussonXA08294062019-03-26 12:48:27 +000056
57 drsim_redir:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000058 networks:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000059 - dfcnet
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000060 environment:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000061 DR_SIM_IP: drsim
62 DR_REDIR_FEEDS: ${DR_REDIR_FEEDS}
BjornMagnussonXA08294062019-03-26 12:48:27 +000063 image: drsim_common:latest
64 ports:
65 - "3908:3908"
66 - "3909:3909"
67 container_name: dfc_dr-redir-sim
68 command: node dmaapDR_redir.js ${DR_REDIR_TC}
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000069 volumes:
70 - ./tls:/app/cert/:rw
71 depends_on:
72 - tls-init-container
BjornMagnussonXA08294062019-03-26 12:48:27 +000073
74 mrsim:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000075 networks:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000076 - dfcnet
77 environment:
78 SFTP_SIMS: ${SFTP_SIMS}
79 FTPS_SIMS: ${FTPS_SIMS}
80 NUM_FTP_SERVERS: ${NUM_FTP_SERVERS}
81 MR_GROUPS: ${MR_GROUPS}
82 MR_FILE_PREFIX_MAPPING: ${MR_FILE_PREFIX_MAPPING}
BjornMagnussonXA08294062019-03-26 12:48:27 +000083 image: mrsim:latest
84 ports:
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000085 - "2222:2222"
86 - "2223:2223"
BjornMagnussonXA08294062019-03-26 12:48:27 +000087 container_name: dfc_mr-sim
88 command: python mr-sim.py ${MR_TC}
ecaiyanlinux796e8fe2019-08-21 12:10:33 +000089 volumes:
90 - ./tls:/app/cert/:rw
91 depends_on:
92 - tls-init-container
BjornMagnussonXA08294062019-03-26 12:48:27 +000093
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000094 sftp-server0:
95 networks:
96 - dfcnet
97 container_name: dfc_sftp-server0
BjornMagnussonXA08294062019-03-26 12:48:27 +000098 image: atmoz/sftp:alpine
99 ports:
100 - "1022:22"
BjornMagnussonXA08294062019-03-26 12:48:27 +0000101 restart: on-failure
102 command: onap:pano:1001
103
BjornMagnussonXAa79a0432019-07-17 08:26:50 +0000104 sftp-server1:
105 networks:
106 - dfcnet
107 container_name: dfc_sftp-server1
108 image: atmoz/sftp:alpine
BjornMagnussonXA08294062019-03-26 12:48:27 +0000109 ports:
BjornMagnussonXAa79a0432019-07-17 08:26:50 +0000110 - "1023:22"
111 restart: on-failure
112 command: onap:pano:1001
113
114 sftp-server2:
115 networks:
116 - dfcnet
117 container_name: dfc_sftp-server2
118 image: atmoz/sftp:alpine
119 ports:
120 - "1024:22"
121 restart: on-failure
122 command: onap:pano:1001
123
124 sftp-server3:
125 networks:
126 - dfcnet
127 container_name: dfc_sftp-server3
128 image: atmoz/sftp:alpine
129 ports:
130 - "1025:22"
131 restart: on-failure
132 command: onap:pano:1001
133
134 sftp-server4:
135 networks:
136 - dfcnet
137 container_name: dfc_sftp-server4
138 image: atmoz/sftp:alpine
139 ports:
140 - "1026:22"
141 restart: on-failure
142 command: onap:pano:1001
143
144 ftpes-server-vsftpd0:
145 networks:
146 - dfcnet
147 container_name: dfc_ftpes-server-vsftpd0
148 image: ftps_vsftpd:latest
149 ports:
150 - "1032:21"
BjornMagnussonXA08294062019-03-26 12:48:27 +0000151 environment:
152 FTP_USER: onap
153 FTP_PASSWORD: pano
BjornMagnussonXA08294062019-03-26 12:48:27 +0000154 restart: on-failure
BjornMagnussonXA42dcb262019-04-26 19:29:54 +0000155 command: vsftpd /etc/vsftpd_ssl.conf
ecaiyanlinux796e8fe2019-08-21 12:10:33 +0000156 volumes:
157 - ./tls:/etc/ssl/private/:rw
158 depends_on:
159 - tls-init-container
BjornMagnussonXAa79a0432019-07-17 08:26:50 +0000160
161 ftpes-server-vsftpd1:
162 networks:
163 - dfcnet
164 container_name: dfc_ftpes-server-vsftpd1
165 image: ftps_vsftpd:latest
166 ports:
167 - "1033:21"
168 environment:
169 FTP_USER: onap
170 FTP_PASSWORD: pano
171 restart: on-failure
172 command: vsftpd /etc/vsftpd_ssl.conf
ecaiyanlinux796e8fe2019-08-21 12:10:33 +0000173 volumes:
174 - ./tls:/etc/ssl/private/:rw
175 depends_on:
176 - tls-init-container
BjornMagnussonXAa79a0432019-07-17 08:26:50 +0000177
178 ftpes-server-vsftpd2:
179 networks:
180 - dfcnet
181 container_name: dfc_ftpes-server-vsftpd2
182 image: ftps_vsftpd:latest
183 ports:
184 - "1034:21"
185 environment:
186 FTP_USER: onap
187 FTP_PASSWORD: pano
188 restart: on-failure
189 command: vsftpd /etc/vsftpd_ssl.conf
ecaiyanlinux796e8fe2019-08-21 12:10:33 +0000190 volumes:
191 - ./tls:/etc/ssl/private/:rw
192 depends_on:
193 - tls-init-container
BjornMagnussonXAa79a0432019-07-17 08:26:50 +0000194
195 ftpes-server-vsftpd3:
196 networks:
197 - dfcnet
198 container_name: dfc_ftpes-server-vsftpd3
199 image: ftps_vsftpd:latest
200 ports:
201 - "1035:21"
202 environment:
203 FTP_USER: onap
204 FTP_PASSWORD: pano
205 restart: on-failure
206 command: vsftpd /etc/vsftpd_ssl.conf
ecaiyanlinux796e8fe2019-08-21 12:10:33 +0000207 volumes:
208 - ./tls:/etc/ssl/private/:rw
209 depends_on:
210 - tls-init-container
BjornMagnussonXAa79a0432019-07-17 08:26:50 +0000211
212 ftpes-server-vsftpd4:
213 networks:
214 - dfcnet
215 container_name: dfc_ftpes-server-vsftpd4
216 image: ftps_vsftpd:latest
217 ports:
218 - "1036:21"
219 environment:
220 FTP_USER: onap
221 FTP_PASSWORD: pano
222 restart: on-failure
223 command: vsftpd /etc/vsftpd_ssl.conf
ecaiyanlinux796e8fe2019-08-21 12:10:33 +0000224 volumes:
225 - ./tls:/etc/ssl/private/:rw
226 depends_on:
227 - tls-init-container