An example LFE/YAWS websocket App Running on Docker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
etc
logs
resources/make
src
test
www
.gitignore
Dockerfile
Makefile
README.md
rebar.config

README.md

websocket-app

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.

Introduction

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:

Use

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.

Building

If you should choose to build the Docker image yourself instead of getting it from Docker Hub:

$ git clone git@github.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 ;-)