mirror of
https://github.com/rlister/dockerfiles.git
synced 2025-12-12 17:26:15 +00:00
add dynamo-backup-to-s3
This commit is contained in:
8
dynamo-backup-to-s3/Dockerfile
Normal file
8
dynamo-backup-to-s3/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM alpine:3.2
|
||||
|
||||
MAINTAINER Ric Lister <rlister@gmail.com>
|
||||
|
||||
RUN apk add --update nodejs && \
|
||||
npm install dynamo-backup-to-s3 -g
|
||||
|
||||
ENTRYPOINT [ "dynamo-backup-to-s3" ]
|
||||
19
dynamo-backup-to-s3/README.md
Normal file
19
dynamo-backup-to-s3/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# dynamo-backup-to-s3
|
||||
|
||||
This is a minimal image built on Alpine Linux and nodejs to run
|
||||
[dynamo-backup-to-s3](https://github.com/markitx/dynamo-backup-to-s3).
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
docker run -d --name dynamo-backup-to-s3 \
|
||||
-e AWS_ACCESS_KEY_ID \
|
||||
-e AWS_SECRET_ACCESS_KEY \
|
||||
-e AWS_DEFAULT_REGION \
|
||||
rlister/dynamo-backup-to-s3:latest \
|
||||
-b my-s3-bucket/path \
|
||||
table1,table2,...
|
||||
```
|
||||
|
||||
It is generally preferable to deploy to an ec2 instance with a
|
||||
suitable IAM role rather than passing AWS secrets in the environment.
|
||||
Reference in New Issue
Block a user