This repository contains Dockerfile of Pushpin for Docker published to the public Docker Hub Registry.
Install Docker.
Download automated build from public Docker Hub Registry: docker pull fanout/pushpin
Alternatively, you can build an image from the Dockerfile:
docker build -t fanout/pushpin .
docker run -dt -p 7999:7999 --name pushpin --rm fanout/pushpin
By default, Pushpin routes traffic to host "app" port 8080.
Start a backend webserver container that exposes port 8080.
Start a pushpin container by linking to the backend container:
docker run -dt -p 7999:7999 --name pushpin --link backend:app fanout/pushpin
Open http://<host>:7999 to see the result.
You can override the target with -e. For example:
docker run -dt -p 7999:7999 --name pushpin --link backend:app -e "target=app:8001" fanout/pushpin
docker run -d --link pushpin:pushpin ubuntu bash -c "apt-get update; apt-get install -y curl; while true; do curl -s -d '{ \"items\": [ { \"channel\": \"test\", \"formats\": { \"http-stream\": { \"content\": \"hello there\n\" } } } ] }' http://pushpin:5561/publish ; sleep 1; done"
Content type
Image
Digest
Size
144 MB
Last updated
almost 8 years ago
docker pull gingonic/docker-pushpin