Possible to access container from internet?



I’m trying to add some testing which needs to expose services running inside the build container to the internet. Specifically, I am using Amazon SNS’s HTTPS notifications such that the service I am testing in my build should be able to receive those notifications.

Is there any way to make this happen?

I looked at trying to figure out the external IP, but that looks like it’s perhaps the host machine’s IP. Is there any way to, for instance, in the circle.yml request a port forward on the external IP to a port on my build container?

Perhaps another step would be for me to use something like Finch to build a tunnel, but that is adding yet more complexity to my build/test process.



I need a web server in a circleci test to receive messages from pusherapp.