Logstash HTTP input plugin

I am attempting to use the logstash HTTP input plugin with my Docker container that I am running Elk in.

I am currently using Docker Compose to run my stack and in trying to follow this page (below)

I have been unsuccessful in getting it set up. I have opened up port 8080 to use and everything else seems fine but when I push data through it gives me the OK but doesn't appear anywhere. The only thing I have been unable to do because of Docker compose is running log stash using this command line from the page.

bin/logstash -e "input { http { } } output { stdout { codec => rubydebug} }"

I would assume that this could be the cause of my issue but I am unsure how I can run this using docker compose.