Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker-[ ]-Crossbar

Run a Crossbar router using Docker.

vinelab/crossbar

Usage

The default configuration is a simple websocket server running on port 8000 with a realm vinelab

To try it out run docker run -d -p 3000:8000 vinelab/crossbar and connect to it using a client implementation of your choice.

Custom Config

To run crossbar using your own config or additional files simply mount them to /.crossbar/ as such

  • docker run -d -p 3000:8000 -v /path/to/config.json:/.crossbar/config.json vinelab/crossbar

  • or the whole .crossbar directory docker run -d -p 3000:8000 -v /path/to/.crossbar:/.crossbar vinelab/crossbar

Docker Pull Command
Owner
vinelab
Source Repository

Comments (1)
kennethkl
2 years ago

Doesn't seem to run:

Traceback (most recent call last):
File "/usr/bin/crossbar", line 9, in <module>
load_entry_point('crossbar==0.10.3', 'console_scripts', 'crossbar')()
File "/usr/lib/python2.7/site-packages/crossbar/controller/cli.py", line 635, in run
raise Exception("No config file specified, and neither CBDIR/config.json nor CBDIR/config.yaml exists")
Exception: No config file specified, and neither CBDIR/config.json nor CBDIR/config.yaml exists
Traceback (most recent call last):
File "/usr/bin/crossbar", line 9, in <module>
load_entry_point('crossbar==0.10.3', 'console_scripts', 'crossbar')()
File "/usr/lib/python2.7/site-packages/crossbar/controller/cli.py", line 635, in run
raise Exception("No config file specified, and neither CBDIR/config.json nor CBDIR/config.yaml exists")
Exception: No config file specified, and neither CBDIR/config.json nor CBDIR/config.yaml exists