aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/pnfsimulator/docker-compose.yml')
-rw-r--r--test/mocks/pnfsimulator/docker-compose.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/test/mocks/pnfsimulator/docker-compose.yml b/test/mocks/pnfsimulator/docker-compose.yml
index 6a381bd75..f3500d248 100644
--- a/test/mocks/pnfsimulator/docker-compose.yml
+++ b/test/mocks/pnfsimulator/docker-compose.yml
@@ -27,6 +27,7 @@ services:
restart: on-failure
depends_on:
- sftp-server
+ - ftpes-server
sftp-server:
container_name: sftp-server
@@ -35,5 +36,21 @@ services:
- "2222:22"
volumes:
- ./sftp:/home/sftp-user/sftp
+ - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub:ro
restart: on-failure
- command: sftp-user:sftp-password \ No newline at end of file
+ command: sftp-user::1001
+
+ ftpes-server:
+ container_name: ftpes-server
+ image: stilliard/pure-ftpd:latest
+ ports:
+ - "2221:21"
+# - "30000-30009:30000-30009"
+ volumes:
+ - ./ftpes/userpass/:/etc/pure-ftpd/passwd/
+ - ./ftpes/tls/:/etc/ssl/private/
+ environment:
+ PUBLICHOST: localhost
+ ADDED_FLAGS: --tls=2
+# entrypoint: /run.sh -c 5 -C 5 -l puredb:/etc/pure-ftpd/pureftpd.pdb -E -j -R -p 30000:30009
+ restart: on-failure \ No newline at end of file