This may be a bit too specific, but hoping someone can help provide me some direction. I’m using DynamoDB for the first time for work, and setup the local docker image. Locally it works great, including a test file I created. Then I pushed it up and it ran through our CI (GitLab). I see the docker container being created:
$ docker-compose up -d Creating network "user-video-rekognition-lambda_default" with the default driver Pulling dynamodb-local (amazon/dynamodb-local:latest)... latest: Pulling from amazon/dynamodb-local Digest: sha256:bdd26570dc0e0ae49e1ea9d49ff662a6a1afe9121dd25793dc40d02802e7e806 Status: Downloaded newer image for amazon/dynamodb-local:latest Creating dynamodb-local ...
However, when the script tries to connect,
Could not connect to the endpoint URL: "http://localhost:8000/" . localhost:8000 is what works locally and is set up for by the docker compose. I can’t figure out what IP it wants me to connect to, or how to debug this. As it’s a CI, I can’t SSH in and pop out values. I tried
127.0.0.1 as well, in case. I donno if anyone has any thoughts? It’s run on a base image of
docker/compose:1.25.0-rc2-alpine , but I can’t find anything that suggests that that uses a different IP for docker?