Below is a list of environment variables used by Spacebar.
You can set environment variables easily by creating an
spacebar-server folder, with the format
NAME=VALUE with each on new lines.
|Number of threads to run Spacebar on when using bundle. Make sure you've enabled RabbitMQ if using more than one
|Port to listen on. Used by all components, including bundle. If using bundle, all components run under the same port
|Database connection string. Defaults to SQlite3 at project root
|File path for JSON config, if not using
config db table
|If set, log websocket events except messages from gateway
|If set, log websocket messages sent/received by gateway
|If set, dump websocket messages sent/received to disk
|Lowest priority value for public CDN annoucements
|Lowest priority value for public gateway annoucements
|CDN storage location. File path or S3 bucktet
|"s3" or "file"
|CDN storage provider
|S3 bucket name
|S3 storage region
|if "true" logs all SQL queries to the terminal
|What requests to log, per response code (eg.
-200 to log every non-200 response code, or
404 to log requests with a not found status code)