Docker Configuration Options
ENV vars and Docker setting for your deployments
There are numerous ENV variable you can use to configure your AllQServer and Clients
AllQueue Server
ENV variables you can set on your Docker container:
SERVER_PORT (Port to listen on, default = 5555)
SERIALIZE (true or false to persist jobs locally for restartability, default = false)
SERIALIZER_DIR (location of serialized files, default = /tmp/allq)
DEBUG (true or false to log more verbosely, default = false)
CONFIG_ONLY (true or false to only generate new keys, default = false)
DEFAULT_TTL (default time to live in seconds, default = 3600)
PRIORITY_SIZE (range of priorities 1 -> PRIORITY_SIZE, default = 10)
FQ_SHARD_COUNT (number of sub-queues to allow for sharding, default = 10)
FQ_PREFIX (prefix required to identify fair queue tubes, default = 'fq-')
AllQueue Client
ENV variables you can set on your Docker container:
HTTP_SERVER_PORT (Http REST API port, default = 8090)
TCP_CLIENT_PORT (For TCP Clients, default = 7766)
SERVER_STRING (Comma separated list of AllQ Servers)
ALLQ_DEBUG (true or false to log more verbosely, default = false)
An example server docker run command might look like this
The above example would let you run a persistent storage docker server where your peristence files would live on your host machine at /tmp/allq.
Last updated