Installing through Docker Hub

Pulling a running image from Docker-Hub

If you are running an x64 Linux architecture, then this should be the fastest and most effective way to install your instance of CrimsonQ.

To make things easier all you need is to setup the installation with a docker-compose file as below and get running;

version: "3.9"
services:
  crimsonq:
    restart: "unless-stopped"
    image: yousefjwadi/crimsonq:latest
    ports:
      - "9001:9001"
      - "8080:8080"
    volumes:
      - crimsonq:/CrimsonQ
    environment:
    - CRIMSONQ_RESP_PASS=crimsonQ!
    - CRIMSONQ_HTTP_USER=crimsonQ
    - CRIMSONQ_HTTP_PASS=crimsonQ!
volumes:
  crimsonq: {}

The above docker-compose file will make life easier, it will do the following;

  1. Pull the image from docker-hub which is based on alpine, making this image < 30mb in size

  2. Exposes port 9001 to the host machine on 9001, this is used for the RESP interface

  3. Exposes port 8080 to the host machine on 8080, this is used for the REST and Web UI interfaces

  4. Create a volume for CrimsonQ

You can change the above to meet your needs, you can also get the above docker-compose with the following command

https://gist.githubusercontent.com/ywadi/04bfd918715f508fd228cbea55b75f75/raw/3413c99f9d1ecdb88f1541c1d012324a347afb17/docker-compose.yaml

Last updated

Was this helpful?