An example LFE/YAWS websocket App Running on Docker
WORK IN PROGRES: The following commands won't work until this project has been completed and a Docker image pushed to Docker Hub.
This repo is featured in the LFE blog post about running Dockerized LFE/YAWS websocket apps. It is based upon the work blogged in the previous posts:
To run the Docker image you need to have docker installed and running. Then simply run the following:
$ docker run -p 5099:5099 -t oubiwann/lfe-yaws-websocket-app:latest
You don't need the source code for that command; it will pull from Docker Hub.
If you should choose to build the Docker image yourself instead of getting it from Docker Hub:
$ git clone email@example.com:oubiwann/docker-lfe-yaws-websocket-app.git $ cd docker-lfe-yaws-websocket-app $ make docker-build $ make docker-run
For more details, you'll just need to read the blog posts linked above ;-)