Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

lfe-deprecated/docker-lfe-yaws-websocket-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc0b697 · Jan 4, 2016

History

60 Commits
Dec 7, 2014
Nov 29, 2015
Dec 7, 2014
Nov 30, 2015
Nov 30, 2015
Nov 29, 2015
Nov 30, 2015
Nov 30, 2015
Dec 31, 2015
Nov 30, 2015
Nov 29, 2015
Nov 29, 2015

Repository files navigation

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 [email protected]: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 ;-)