blob: 850563155f37d0124f7af1790f3b5fba00847b10 [file] [log] [blame]
BjornMagnussonXA08294062019-03-26 12:48:27 +00001version: '2'
BjornMagnussonXAf4e18362019-04-10 13:04:08 +00002
3networks:
4 dfcnet:
5 ipam:
6 config:
7 - subnet: 192.168.100.0/16
8
BjornMagnussonXA08294062019-03-26 12:48:27 +00009services:
10
11 drsim:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000012 networks:
13 dfcnet:
14 ipv4_address: 192.168.100.2
BjornMagnussonXA08294062019-03-26 12:48:27 +000015 image: drsim_common:latest
16 ports:
17 - "3906:3906"
18 - "3907:3907"
19 container_name: dfc_dr-sim
20 command: node dmaapDR.js ${DR_TC}
21
22 drsim_redir:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000023 networks:
24 dfcnet:
25 ipv4_address: 192.168.100.3
BjornMagnussonXA08294062019-03-26 12:48:27 +000026 image: drsim_common:latest
27 ports:
28 - "3908:3908"
29 - "3909:3909"
30 container_name: dfc_dr-redir-sim
31 command: node dmaapDR_redir.js ${DR_REDIR_TC}
32
33 mrsim:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000034 networks:
35 dfcnet:
36 ipv4_address: 192.168.100.1
BjornMagnussonXA08294062019-03-26 12:48:27 +000037 image: mrsim:latest
38 ports:
39 - "2222:2222"
40 container_name: dfc_mr-sim
41 command: python mr-sim.py ${MR_TC}
42
43 sftp-server:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000044 network_mode: bridge
BjornMagnussonXA08294062019-03-26 12:48:27 +000045 container_name: dfc_sftp-server
46 image: atmoz/sftp:alpine
47 ports:
48 - "1022:22"
BjornMagnussonXA08294062019-03-26 12:48:27 +000049 restart: on-failure
50 command: onap:pano:1001
51
52
53 ftpes-server-vsftpd:
BjornMagnussonXAf4e18362019-04-10 13:04:08 +000054 network_mode: bridge
BjornMagnussonXA08294062019-03-26 12:48:27 +000055 container_name: dfc_ftpes-server-vsftpd
56 image: docker.io/panubo/vsftpd
57 ports:
58 - "21:21"
59 - "8001-8010:8001-8010"
60 environment:
61 FTP_USER: onap
62 FTP_PASSWORD: pano
63 PASV_ADDRESS: localhost
64 PASV_MIN_PORT: 8001
65 PASV_MAX_PORT: 8010
66 volumes:
67 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
68 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
69 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
70 - ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
71
BjornMagnussonXA08294062019-03-26 12:48:27 +000072 restart: on-failure
BjornMagnussonXA42dcb262019-04-26 19:29:54 +000073 command: vsftpd /etc/vsftpd_ssl.conf