Configuration
Environment variables available for BullMQ Proxy
The proxy can be configured using env variables that must be set up at the time the service starts in order to have any affect. In the following table we list the available variables and their default values if any.
AUTH_TOKENSComma separated list of valid tokens that can be used to authenticate in the proxy.
QUEUE_PREFIXbull
Prefix used for all Redis keys used by the queues managed by the proxy.
PORT8080
Port where the proxy will listen for requests.
REDIS_URIRedis URI string. Either this standalone string or separate Redis™ variables can be used.
REDIS_HOSTlocalhost
Host where the Redis™ instance is running.
REDIS_PORT6379
Port used for the Redis™ instance.
REDIS_USERNAMEOptiona username for the used Redis™ instance.
REDIS_PASSWORDPassword used for the Redis™ instance.
REDIS_TLSEnable TLS when connecting to the Redis™ instance.
QUEUE_CACHE_SIZE100
Maximum number of BullMQ queue instances to keep in the cache.
DEBUGfalse
Enable debugging logs.
MIN_QUEUE_NAME_LENGTH3
Minimum allowed length for queue names.
MAX_QUEUE_NAME_LENGTH100
Maximum allowed length for queue names.
WORKER_METADATA_KEYbullmq-proxy:workersRedis™ key where to store metadata for registered workers.
Last updated