Skip to content

Commit

Permalink
Attempt to resolve ipv6 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tgandrews committed May 22, 2022
1 parent 030cbee commit 6da170a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ AWS_SECRET_ACCESS_KEY=dummy
echo "starting Dynamo docker..."

DYNAMO_CONTAINER_ID=$(docker run -tid -P -e AWS_REGION=$AWS_REGION -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY amazon/dynamodb-local)
DYNAMO_HOST=$(docker port $DYNAMO_CONTAINER_ID 8000)
DYNAMO_HOSTS=$(docker port $DYNAMO_CONTAINER_ID 8000)
echo "Hosts: $DYNAMO_HOSTS"
IFS=$'\n' DYNAMO_HOST=($DYNAMO_HOSTS)

echo "dynamo started at: $DYNAMO_HOST"

Expand Down

0 comments on commit 6da170a

Please sign in to comment.