Skip to content
This repository was archived by the owner on Jan 25, 2021. It is now read-only.

Latest commit

 

History

History

simplepush

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

AeroGear SimplePush Server Docker image

This project contains a Docker file for AeroGear SimplePush Server.

Usage

docker run -p 7777:7777 -it jboss/aerogear-simplepush

Opening a web browser with the url http://localhost:7777/simplepush should display the SockJS welcome screen:

Welcome to SockJS!

Port forwarding for Mac OS X

You'll need to configure your VirtualBox to support port forwarding for port 7777:

VBoxManage modifyvm "boot2docker-vm" --natpf1 "guestnginx,tcp,,7777,,7777"

Building locally

docker build -t aerogear-simplepush .

And to run the locally built image:

docker run -p 7777:7777 -it aerogear-simplepush

You can also run a shell instead of executing the SimplePush Server to investigate the container:

docker run -p 7777:7777 -it aerogear-simplepush /bin/bash