Public Repository

Last pushed: 2 years ago
Short Description
DO NOT USE THAT. IT'S OLD.
Full Description

How to use it:
First of all, create a redis container like that:
docker run --name mdms-redis -d redis
then start the mdms app:
docker run --name mdms --link mdms-redis:mdms-redis -p 8080:8080 --rm -it maxleiko/mdms

FROM        maxleiko/ringojs:0.10
MAINTAINER  Maxime Tricoire <max.tricoire@gmail.com>

ADD         mdms-ringojs /opt/mdms
RUN         ringo-admin install ringo/stick
ADD         start.sh /root/start.sh

EXPOSE      8080

ENTRYPOINT  ["sh", "/root/start.sh"]

/root/start.sh:

#! /bin/sh
echo "Add some fake data to redis DB..." && \
    ringo /opt/mdms/tools/fakedb.js && \
    echo "Starting MdMS - Diversify ..." && \
    ringo /opt/mdms/main.js
Docker Pull Command
Owner
maxleiko

Comments (0)