AllQ
  • What is AllQueue?
  • Getting Started
  • Install
    • Why AllQueue?
    • Architecture
    • 1. Install AllQueue Server
    • 2. Install AllQueue Client
    • Installation (Quick Start)
  • Foundational Concepts
    • Talking to AllQueue
    • Server/Client
    • Jobs
    • Tubes
    • Persistence
  • Features
    • Autobury Failed Jobs
    • Delayed Jobs/Scheduling
    • Priority
    • Workflow
    • Throttle
    • Fair Queuing
  • Configuration
  • Rest API Usage
  • Scenarios
  • Advanced
    • Docker Configuration Options
    • Federation Deployment
Powered by GitBook
On this page

Was this helpful?

  1. Install

1. Install AllQueue Server

AllQServer

Download Docker Image

Grab latest server:

$ docker run -e CONFIG_ONLY=true blitline/allq:server_latest

You can simply run the base image, but it uses default credentials and you will want to update with new credentials

You will get results that look something like this

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I have generated a new CURVE public and private key for you here:

client:
export A_CURVE_PUBLICKEY="K1tMUUVUXXhxXi85KnB3NlQ9Kjp4W0RmdkwtOFhPcGlPbl1dN259eAA="
export A_CURVE_SECRETKEY="SnpBUDA+LShEejMxZ05RKzBWNFpiUjFUdHFkeHstNDM1YTEwVVU4JQA="
export A_CURVE_SERVER_PUBLICKEY="eT8zfV5bN1BPRG9eVnFeM2QoYzNGWWZuOVZXP2ltNXR5XTBJJUomTgA="

server:
export A_CURVE_PUBLICKEY="eT8zfV5bN1BPRG9eVnFeM2QoYzNGWWZuOVZXP2ltNXR5XTBJJUomTgA="
export A_CURVE_SECRETKEY="VmE2JntiMUExN2N9cypKRCElS2lLPEVSPHZFJHlVcj1AWVtxQUljSgA="

Please record and update your client and server containers with these environment values
It's OK if you don't, I will generate new ones again next time you run me.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Please record the CLIENT AND SERVER credentials that were output from docker run command above.

Now, you will start the server with the credentials you have recorded for the server.

docker run --name=allq_server -d \
  -p 5555:5555 \
  -e "A_CURVE_SECRETKEY=$A_CURVE_SECRETKEY" \
  -e "A_CURVE_PUBLICKEY=$A_CURVE_PUBLICKEY" \
  --init \
  blitline/allq:server_latest

It's important that you use the SERVER credentials, and not the client credentials (those will be used later).

Port 5555 must be open to the client (make sure your firewall/vpc is not BLOCKING port 5555)

PreviousArchitectureNext2. Install AllQueue Client

Last updated 5 years ago

Was this helpful?