Configuration

WSCelery can be configured from the command line:

$ wscelery --allow-origin=.*

Or using environment variables. All options are configured with a WSCELERY_ prefix.

$ export WSCELERY_PORT=8001
$ wscelery  # will use port 8001

Options

Standard celery configuration options can be overriden using environment variables or command line options. See the Celery reference for a complete list of celery options.

Celery command line options can be passed to wscelery too. E.g.

$ wscelery --broker=amqp://guest:guest@10.9.3.123:5672

For a full list of celery options see:

$ celery --help

For a full list of wscelery specific options see:

$ wscelery --help

address

Run the websocket server on the given address. (Defaults to 127.0.0.1)

port

Run the websocket server on a given port. (Defaults to 1337)

allowed_origin

A regex of origins allowed to access the websocket. (Defaults to current host)

debug

Run wscelery in debug mode. Do not use in production.