Last active
March 5, 2018 14:20
-
-
Save filp/f065c92162527e74135107a450f6a681 to your computer and use it in GitHub Desktop.
Revisions
-
filp revised this gist
Jun 8, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,4 +24,4 @@ SFTP server & notification system, by combining two containers: - password: `impraise` - Remember to document your Dockerfile(s) and other components of your project appropriately! - We expect the submitted code to be production ready wherever feasible. **IMPORTANT** any areas where your project falls short of production readiness, please submit a short note explaining the steps you'd take to make it so. -
filp revised this gist
Jun 8, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,5 +23,5 @@ SFTP server & notification system, by combining two containers: - username: `impraise` - password: `impraise` - Remember to document your Dockerfile(s) and other components of your project appropriately! - We expect the submitted code to be production ready wherever feasible. **IMPORTANT** any areas where your project fails short of production readiness, please submit a short note explaining the steps you'd take to make it so. -
filp revised this gist
Jun 8, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,4 +22,6 @@ SFTP server & notification system, by combining two containers: - The SFTP service should accept the following credentials to connect: - username: `impraise` - password: `impraise` - Remember to document your Dockerfile(s) and other components of your project appropriately! - We expect the submitted code to be production ready wherever feasible. **IMPORTANT** any areas where your project fails short of production readiness, please submit a short note explaining the steps you'd take to make it so. -
filp revised this gist
May 15, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ # Systems Engineer Project ## SFTP watcher Using Docker, and other tools of your choice, your task is to build a simple SFTP server & notification system, by combining two containers: - Container A runs the SFTP server - Container B runs a script or service that monitors the directory served by Container A for new files, and prints their path to STDOUT ### Rules - Both services (SFTP and the watcher) need to live in separate containers - You are free to use an existing Docker image for the SFTP server as your starting point (e.g https://github.com/atmoz/sftp) -
filp created this gist
May 15, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # Systems Engineer Project # SFTP watcher Using Docker, and other tools of your choice, your task is to build a simple SFTP server & notification system, by combining two containers: - Container A runs the SFTP server - Container B runs a script or service that monitors the directory served by Container A for new files, and prints their path to STDOUT ## Rules - Both services (SFTP and the watcher) need to live in separate containers - You are free to use an existing Docker image for the SFTP server as your starting point (e.g https://github.com/atmoz/sftp) - You are free to setup the Docker container for the watcher service however you'd like, but you must build it yourself: - Pick any language you're comfortable with (Bash is fine too) - You are free to use a base Docker image for the language you're using as the starting point (e.g https://hub.docker.com/_/ruby/ if you were to use ruby) - Use Docker volumes to share a directory between the SFTP and watcher containers - The watcher service should print the full path of new files in the directory (from the time the service starts) - The project should be able to be started from a single command - You may write your own starter script, use docker-compose, or other tools of your choosing - The SFTP service should accept the following credentials to connect: - username: `impraise` - password: `impraise` - Remember to document your Dockerfile(s) and other components of your project appropriately!