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
allowed_origin¶
A regex of origins allowed to access the websocket. (Defaults to current host)