From cbadddb6029faa89e5097da25551995da079fa01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:48:15 +0000 Subject: [PATCH 1/2] Update amazon/dynamodb-local Docker tag to v2 --- dynamo.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamo.Dockerfile b/dynamo.Dockerfile index fd58c9c5..da971799 100644 --- a/dynamo.Dockerfile +++ b/dynamo.Dockerfile @@ -1,5 +1,5 @@ ARG DB_LOCATION=/home/dynamodblocal/db -FROM amazon/dynamodb-local:1.22.0 AS install +FROM amazon/dynamodb-local:2.0.0 AS install USER root RUN yum -y install awscli @@ -20,7 +20,7 @@ RUN mkdir -p ${DB_LOCATION} && \ --endpoint-url ${AWS_ENDPOINT} --region ${AWS_REGION} && \ kill $DYNAMO_PID -FROM amazon/dynamodb-local:1.22.0 +FROM amazon/dynamodb-local:2.0.0 ARG DB_LOCATION COPY --chown=dynamodblocal:dynamodblocal --from=install ${DB_LOCATION} /db From 4433be6eef2685394259b6e619da591c5916e27e Mon Sep 17 00:00:00 2001 From: John Halbert Date: Tue, 12 Sep 2023 15:16:23 -0500 Subject: [PATCH 2/2] Update access key id & secret for local dynamo --- docker-compose.yml | 8 ++++---- dynamo.Dockerfile | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 306a8c99..4ddd3a27 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,8 +23,8 @@ services: - SENTRY_DSN - ENV=local - DEBUG=1 - - AWS_ACCESS_KEY_ID=# - - AWS_SECRET_ACCESS_KEY=# + - AWS_ACCESS_KEY_ID=GOSYNC + - AWS_SECRET_ACCESS_KEY=GOSYNC - AWS_REGION=us-west-2 - AWS_ENDPOINT=http://dynamo-local:8000 - REDIS_URL=redis:6379 @@ -48,8 +48,8 @@ services: - SENTRY_DSN - ENV=local - DEBUG=1 - - AWS_ACCESS_KEY_ID=# - - AWS_SECRET_ACCESS_KEY=# + - AWS_ACCESS_KEY_ID=GOSYNC + - AWS_SECRET_ACCESS_KEY=GOSYNC - AWS_REGION=us-west-2 - AWS_ENDPOINT=http://dynamo-local:8000 - TABLE_NAME=client-entity-dev diff --git a/dynamo.Dockerfile b/dynamo.Dockerfile index da971799..e5336b82 100644 --- a/dynamo.Dockerfile +++ b/dynamo.Dockerfile @@ -5,8 +5,8 @@ USER root RUN yum -y install awscli USER dynamodblocal -ENV AWS_ACCESS_KEY_ID=# -ENV AWS_SECRET_ACCESS_KEY=# +ENV AWS_ACCESS_KEY_ID=GOSYNC +ENV AWS_SECRET_ACCESS_KEY=GOSYNC ARG AWS_ENDPOINT=http://localhost:8000 ARG AWS_REGION=us-west-2 ARG DB_LOCATION