BjornMagnussonXA | 0829406 | 2019-03-26 12:48:27 +0000 | [diff] [blame^] | 1 | version: '2' |
| 2 | services: |
| 3 | |
| 4 | drsim: |
| 5 | network_mode: "host" |
| 6 | image: drsim_common:latest |
| 7 | ports: |
| 8 | - "3906:3906" |
| 9 | - "3907:3907" |
| 10 | container_name: dfc_dr-sim |
| 11 | command: node dmaapDR.js ${DR_TC} |
| 12 | |
| 13 | drsim_redir: |
| 14 | image: drsim_common:latest |
| 15 | ports: |
| 16 | - "3908:3908" |
| 17 | - "3909:3909" |
| 18 | container_name: dfc_dr-redir-sim |
| 19 | command: node dmaapDR_redir.js ${DR_REDIR_TC} |
| 20 | |
| 21 | mrsim: |
| 22 | image: mrsim:latest |
| 23 | ports: |
| 24 | - "2222:2222" |
| 25 | container_name: dfc_mr-sim |
| 26 | command: python mr-sim.py ${MR_TC} |
| 27 | |
| 28 | sftp-server: |
| 29 | container_name: dfc_sftp-server |
| 30 | image: atmoz/sftp:alpine |
| 31 | ports: |
| 32 | - "1022:22" |
| 33 | # volumes: |
| 34 | # - ./files/onap/sftp/:/home/onap/ |
| 35 | restart: on-failure |
| 36 | command: onap:pano:1001 |
| 37 | |
| 38 | |
| 39 | ftpes-server-vsftpd: |
| 40 | container_name: dfc_ftpes-server-vsftpd |
| 41 | image: docker.io/panubo/vsftpd |
| 42 | ports: |
| 43 | - "21:21" |
| 44 | - "8001-8010:8001-8010" |
| 45 | environment: |
| 46 | FTP_USER: onap |
| 47 | FTP_PASSWORD: pano |
| 48 | PASV_ADDRESS: localhost |
| 49 | PASV_MIN_PORT: 8001 |
| 50 | PASV_MAX_PORT: 8010 |
| 51 | volumes: |
| 52 | - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro |
| 53 | - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro |
| 54 | - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro |
| 55 | - ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
| 56 | |
| 57 | # - ./files/onap/ftps/:/srv/ |
| 58 | restart: on-failure |
| 59 | |