From ede3e7149012b0bda9ef633a5c1ef26a357dee98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Roug?= Date: Sat, 9 Apr 2016 19:16:13 +0200 Subject: [PATCH] More text --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a1aca5f..08134cc 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,14 @@ Restricted SSH server which allows SCP / SFTP access only. This image is meant to be used together with the httpd:2.4 image +The purpose of this image is to make a constellation of a website with a way to update the content using SCP or SFTP. + Running ------- +It is easiest if you use docker-compose. Then you can specify the authorized SSH keys in a block declaration: + +docker-compose.yml file: ``` scpserver: image: eeacms/scp-server @@ -31,6 +36,7 @@ htdocs: - :/usr/local/apache2/htdocs ``` -Then you can copy into the container (e.g. via scp) as the `www` user: +When started you can upload data into the container (e.g. via scp) as the `www` user: scp -P www@: +