Public Repository

Last pushed: a year ago
Short Description
push/sub server with mosca.io MQTT broker as a module
Full Description

Base on Alpine Node v4

run it :
docker run -d -p 1883:1883 --restart=always -t moriame/mosca-server

Dockerfile :

FROM mhart/alpine-node:4

RUN apk update && \
    apk add --no-cache \
    g++ \
    gcc \
    make \
    python && \

    npm install -g --production mosca bunyan && \

    apk del \
    g++ \
    gcc \
    make \
    python

EXPOSE 80 1883

ENTRYPOINT ["/usr/bin/mosca", "-d", "/db", "--http-port", "80", "--http-bundle", "-v"]
Docker Pull Command
Owner
moriame

Comments (0)