This is basically an instance of MediaWiki's electron-render service. Instead of limiting access via the RENDERER_ACCESS_KEY
key, it fronts the service with a simple web server that limits the accepted URLs to those from a whitelist.
Using docker-machine:
$ eval "$(docker-machine env default)"
$ docker-compose up
To facilitate fast development, the render service exposes its port so that a local web service can connect to it:
export RENDERER_HOST=$(docker-machine ip default)
export RENDERER_ACCESS_KEY=t0ps3cret
rerun bundle exec rackup
If you have tmuxinator installed (gem install tmuxinator
), a simple call to tmuxinator
will launch the service locally as well as the docker images using docker-compose
. Have a look at the .tmuxinator.yml
file to see what will be launched.