diff options
author | 2018-10-22 15:08:50 +0200 | |
---|---|---|
committer | 2018-10-22 15:08:50 +0200 | |
commit | d96bb413ca0238172797b43cb0991394dbd85d35 (patch) | |
tree | f315a6faafba55c4ea71252455ce5be3d2ed0d1c /test/mocks/pnfsimulator/docker-compose.yml | |
parent | 23bdc91789ead7c92052b5d68280f896f8b3a975 (diff) |
add vsftpd with ca and keys
Change-Id: I29f1d5e67f01d21eed88d20ae447de9bc59e0bdb
Issue-ID: INT-695
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
Diffstat (limited to 'test/mocks/pnfsimulator/docker-compose.yml')
-rw-r--r-- | test/mocks/pnfsimulator/docker-compose.yml | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/test/mocks/pnfsimulator/docker-compose.yml b/test/mocks/pnfsimulator/docker-compose.yml index 214a7733a..53d6aa122 100644 --- a/test/mocks/pnfsimulator/docker-compose.yml +++ b/test/mocks/pnfsimulator/docker-compose.yml @@ -48,11 +48,31 @@ services: - "30000-30009:30000-30009" volumes: - ./ftpes/files:/home/ftpusers/onap - - ./ftpes/userpass/:/etc/pure-ftpd/passwd/ - - ./ftpes/tls/:/etc/ssl/private/ + - ./ftpes/pure-ftpd/userpass/:/etc/pure-ftpd/passwd/ + - ./ftpes/pure-ftpd/tls/:/etc/ssl/private/ environment: PUBLICHOST: localhost ADDED_FLAGS: --tls=2 FTP_USER_HOME: onap - restart: on-failure
\ No newline at end of file + restart: on-failure + + vsftpd_ftpes_server: + container_name: vsftpd_ftpes_server + image: docker.io/panubo/vsftpd + ports: + - "8221:21" + - "8001-8010:8001-8010" + environment: + FTP_USER: onap + FTP_PASSWORD: pano + PASV_ADDRESS: 127.0.0.1 + PASV_MIN_PORT: 8001 + PASV_MAX_PORT: 8010 + volumes: + - ./ftpes/vsftpd/tls/ftp.crt:/etc/ssl/private/vsftpd.crt:ro + - ./ftpes/vsftpd/tls/ftp.key:/etc/ssl/private/vsftpd.key:ro + - ./ftpes/vsftpd/tls/dfc.crt:/home/vsftpd/onap/client.crt:ro + - ./ftpes/vsftpd/configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro + restart: on-failure + command: vsftpd /etc/vsftpd_ssl.conf |