Sign inSign up

amalhotra/crossbar_docker

By amalhotra

Updated about 10 years ago

Image to run a crossbar container. See github readme for more info.

Image
0

295

amalhotra/crossbar_docker repository overview

#Crossbar

This image creates a crossbar image but does not run any process (no entrypoint)

To use this image, simply create a dockerfile that mounts the configuration and starts the crossbar engine. For example

FROM amalhotra/crossbar
COPY ${CONFIG_DIR}/config.json /root/.crossbar
ENTRYPOINT ["crossbar", "start", "--cbdir=/root/.crossbar", "--logdir=/var/log/crossbar", "--logtofile", "--loglevel=info"]

And subsequently, this can be called in a docker-compose file with :

crossbar:
    build: ./crossbar/
    container_name: crossbar
    environment:
     - CONFIG_DIR=/root/.crossbar/
    ports:
     - "9999:9999"

The version of crossbar installed was the one available on pip crossbar-0.15.0-py2.py3-none-any.whl

Tag summary

Content type

Image

Digest

Size

215.8 MB

Last updated

about 10 years ago

docker pull amalhotra/crossbar_docker