1
0
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:
Richard Lister
2015-07-24 13:59:13 -04:00
parent e709d00286
commit 0290cda1ae
2 changed files with 27 additions and 0 deletions

View 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" ]

View 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.