aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml
diff options
context:
space:
mode:
authorTamasBakai <tamas.bakai@est.tech>2019-02-15 08:38:16 +0000
committerTamas Bakai <tamas.bakai@est.tech>2019-02-15 09:47:28 +0000
commit9b780338eb8b85fc713f272a7cae865f1265f109 (patch)
tree864c1ba60eff8625f1f5c79567da0914e5e8ed65 /test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml
parent01c69ab28550d775239697067588e3b2063188a1 (diff)
Simulator scripts for datafile-collector
Change-Id: Idff5fb9e4406f42208367860b3d02fc2ed4a9bad Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
Diffstat (limited to 'test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml')
-rw-r--r--test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml b/test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml
new file mode 100644
index 000000000..4d2d32984
--- /dev/null
+++ b/test/mocks/datafilecollector-testharness/ftps-sftp-server/docker-compose.yml
@@ -0,0 +1,39 @@
+version: '3'
+
+services:
+
+ sftp-server1:
+ container_name: sftp-server1
+ image: atmoz/sftp:alpine
+ ports:
+ - "1022:22"
+ volumes:
+ - ./files/onap/:/home/onap/
+ restart: on-failure
+ command: onap:pano:1001
+
+ ftpes-server-vsftpd:
+ container_name: ftpes-server-vsftpd
+ image: docker.io/panubo/vsftpd
+ ports:
+ - "21:21"
+ - "8001-8010:8001-8010"
+ environment:
+ FTP_USER: onap
+ FTP_PASSWORD: pano
+ PASV_ADDRESS: localhost
+ PASV_MIN_PORT: 8001
+ PASV_MAX_PORT: 8010
+ volumes:
+ - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
+ - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
+ - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
+ - ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
+
+ - ./files/onap/0.5MB.tar.gz:/srv/0.5MB.tar.gz:ro
+ - ./files/onap/1MB.tar.gz:/srv/1MB.tar.gz:ro
+ - ./files/onap/5MB.tar.gz:/srv/5MB.tar.gz:ro
+ - ./files/onap/10MB.tar.gz:/srv/10MB.tar.gz:ro
+ restart: on-failure
+ command: vsftpd /etc/vsftpd_ssl.conf
+