Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 1 | version: '3' |
| 2 | |
| 3 | services: |
| 4 | pnf-simulator: |
| 5 | container_name: pnf-simulator |
Marcin Migdal | 62f7418 | 2019-01-18 12:32:36 +0100 | [diff] [blame] | 6 | image: nexus3.onap.org:10003/onap/pnf-simulator:4.0.0-SNAPSHOT |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 7 | ports: |
| 8 | - "5000:5000" |
| 9 | volumes: |
| 10 | - ./logs:/var/log |
Marcin Migdal | ffd5266 | 2018-08-02 13:40:25 +0200 | [diff] [blame] | 11 | - ./json_schema:/json_schema |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 12 | env_file: |
| 13 | - ./config/netconf.env |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 14 | restart: on-failure |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 15 | depends_on: |
| 16 | - netopeer |
| 17 | |
| 18 | netopeer: |
| 19 | container_name: netopeer |
| 20 | image: sysrepo/sysrepo-netopeer2:latest |
| 21 | ports: |
| 22 | - "830:830" |
Rahul Tyagi | e7f4e5e | 2019-02-22 19:59:54 +0000 | [diff] [blame] | 23 | - "6513:6513" |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 24 | volumes: |
| 25 | - ./netconf:/netconf |
Rahul Tyagi | e7f4e5e | 2019-02-22 19:59:54 +0000 | [diff] [blame] | 26 | - ./netopeer_tls_cfg:/netopeer_tls_cfg |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 27 | env_file: |
| 28 | - ./config/netconf.env |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 29 | restart: on-failure |
| 30 | depends_on: |
| 31 | - sftp-server |
Marcin Migdal | 7b60117 | 2018-10-30 14:08:37 +0100 | [diff] [blame] | 32 | - ftpes-server-pure-ftpd |
| 33 | - ftpes-server-vsftpd |
Rahul Tyagi | b4db777 | 2019-03-01 03:14:46 +0000 | [diff] [blame] | 34 | command: bash -c "/netopeer_tls_cfg/entrypoint.sh" |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 35 | |
| 36 | sftp-server: |
| 37 | container_name: sftp-server |
| 38 | image: atmoz/sftp:alpine |
| 39 | ports: |
Marcin Migdal | 136068d | 2018-08-29 16:05:20 +0200 | [diff] [blame] | 40 | - "2222:22" |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 41 | volumes: |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 42 | - ./sftp:/home/sftp-user/sftp |
Marcin Migdal | 0147352 | 2018-08-30 14:39:02 +0200 | [diff] [blame] | 43 | - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub:ro |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 44 | restart: on-failure |
micdzied | 2f1f244 | 2018-09-13 14:44:59 +0200 | [diff] [blame] | 45 | command: sftp-user::1001 |
| 46 | |
Marcin Migdal | 7b60117 | 2018-10-30 14:08:37 +0100 | [diff] [blame] | 47 | ftpes-server-pure-ftpd: |
| 48 | container_name: ftpes-server-pure-ftpd |
Marcin Migdal | 81f9983 | 2018-09-17 14:34:28 +0200 | [diff] [blame] | 49 | image: stilliard/pure-ftpd:latest |
micdzied | 2f1f244 | 2018-09-13 14:44:59 +0200 | [diff] [blame] | 50 | ports: |
| 51 | - "2221:21" |
Marcin Migdal | bd18844 | 2018-09-27 15:48:40 +0200 | [diff] [blame] | 52 | - "30000-30009:30000-30009" |
micdzied | 2f1f244 | 2018-09-13 14:44:59 +0200 | [diff] [blame] | 53 | volumes: |
Marcin Migdal | bd18844 | 2018-09-27 15:48:40 +0200 | [diff] [blame] | 54 | - ./ftpes/files:/home/ftpusers/onap |
micdzied | d96bb41 | 2018-10-22 15:08:50 +0200 | [diff] [blame] | 55 | - ./ftpes/pure-ftpd/userpass/:/etc/pure-ftpd/passwd/ |
| 56 | - ./ftpes/pure-ftpd/tls/:/etc/ssl/private/ |
micdzied | 2f1f244 | 2018-09-13 14:44:59 +0200 | [diff] [blame] | 57 | environment: |
| 58 | PUBLICHOST: localhost |
micdzied | b2e6ad0 | 2018-10-26 11:24:45 +0200 | [diff] [blame] | 59 | ADDED_FLAGS: --tls=2 |
Marcin Migdal | bd18844 | 2018-09-27 15:48:40 +0200 | [diff] [blame] | 60 | FTP_USER_HOME: onap |
micdzied | d96bb41 | 2018-10-22 15:08:50 +0200 | [diff] [blame] | 61 | restart: on-failure |
| 62 | |
Marcin Migdal | 7b60117 | 2018-10-30 14:08:37 +0100 | [diff] [blame] | 63 | ftpes-server-vsftpd: |
| 64 | container_name: ftpes-server-vsftpd |
micdzied | d96bb41 | 2018-10-22 15:08:50 +0200 | [diff] [blame] | 65 | image: docker.io/panubo/vsftpd |
| 66 | ports: |
| 67 | - "8221:21" |
| 68 | - "8001-8010:8001-8010" |
| 69 | environment: |
| 70 | FTP_USER: onap |
| 71 | FTP_PASSWORD: pano |
micdzied | b2e6ad0 | 2018-10-26 11:24:45 +0200 | [diff] [blame] | 72 | PASV_ADDRESS: localhost |
micdzied | d96bb41 | 2018-10-22 15:08:50 +0200 | [diff] [blame] | 73 | PASV_MIN_PORT: 8001 |
| 74 | PASV_MAX_PORT: 8010 |
| 75 | volumes: |
micdzied | b2e6ad0 | 2018-10-26 11:24:45 +0200 | [diff] [blame] | 76 | - ./ftpes/vsftpd/tls/vsftpd.crt:/etc/ssl/private/vsftpd.crt:ro |
| 77 | - ./ftpes/vsftpd/tls/vsftpd.key:/etc/ssl/private/vsftpd.key:ro |
micdzied | d96bb41 | 2018-10-22 15:08:50 +0200 | [diff] [blame] | 78 | - ./ftpes/vsftpd/configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro |
micdzied | b2e6ad0 | 2018-10-26 11:24:45 +0200 | [diff] [blame] | 79 | - ./ftpes/files/onap/ftpes-onap.txt:/home/vsftpd/onap/ftpes-onap.txt:ro |
| 80 | - ./ftpes/files/onap/ftpes-onap.txt:/srv/ftpes-onap.txt:ro |
micdzied | d96bb41 | 2018-10-22 15:08:50 +0200 | [diff] [blame] | 81 | restart: on-failure |
| 82 | command: vsftpd /etc/vsftpd_ssl.conf |
Marcin Migdal | 7b60117 | 2018-10-30 14:08:37 +0100 | [diff] [blame] | 83 | |