mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-02 17:10:18 +01:00
added docker example
This commit is contained in:
parent
a09bcf3bf0
commit
2de194fcf8
1 changed files with 6 additions and 0 deletions
|
@ -203,6 +203,12 @@ For easy deployment, we've created a Docker container.
|
||||||
```bash
|
```bash
|
||||||
docker run --publish 8080:8080 dutchcoders/transfer.sh:latest --provider local --basedir /tmp/
|
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
|
## S3 Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue