This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
forked from jeanadrien/dynamodb-cross-region-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dockerfile, allowing to use ECS for the replication task.
- Loading branch information
Jean Vaucher
committed
Jan 26, 2018
1 parent
d755135
commit 86c95ab
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
coverage | ||
target | ||
.git | ||
*.log | ||
.idea | ||
*.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM maven:3.5.2-jdk-8 | ||
|
||
# Create app directory | ||
WORKDIR /usr/src/app | ||
|
||
# Build | ||
COPY . . | ||
|
||
RUN mvn install | ||
CMD [ "java", "-jar", "target/dynamodb-cross-region-replication-1.2.1.jar", "--sourceRegion", "us-east-1", "--sourceTable", "lip_jva_identity", "--destinationRegion", "us-east-1", "--destinationTable", "lip_prod_identity" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
worker: java -jar target/dynamodb-cross-region-replication-1.2.1.jar --sourceRegion us-east-1 --sourceTable lip_jva_identity --destinationRegion us-east-1 --destinationTable lip_prod_identity --taskname jva_prod_identity_replication |