From 2de194fcf8effdc10e8296248706dbd21c48268f Mon Sep 17 00:00:00 2001 From: beyondszine Date: Sat, 17 Aug 2019 12:06:58 +0530 Subject: [PATCH] added docker example --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 56ea23b..6d04d49 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,12 @@ For easy deployment, we've created a Docker container. ```bash docker run --publish 8080:8080 dutchcoders/transfer.sh:latest --provider local --basedir /tmp/ ``` +Pass the params to the transfer.sh binary inside container by the *args*, not through docker environment vars. + +```bash +docker run -p 8080:8080 dutchcoders/transfer.sh:latest --provider s3 --http-auth-user my-username --http-auth-pass somepassword --aws-access-key $AWS_ACCESS_KEY_ID --aws-secret-key $AWS_SECRET_ACCESS_KEY --bucket $AWS_TRANSFERSH_BUCKET --s3-region $AWS_TRANSFERSH_BUCKET_REGION +``` + ## S3 Usage