Skip to content

Docker-based deployment instructions

Expired Links

The download links expire automatically. Before proceeding, please ask clarity@chemotargets.com to re-activate them.

  1. Create the working directory:

    mkdir -p clrt4.2-artifacts
    cd clrt4.2-artifacts
    
  2. Download and load Docker images.

    for iname in {clrt4-helper,clrt4-frontend,clrt4-db,clrt4-backend}; do
      echo "Loading ${iname}"
      curl -sL "https://dl.chmtgt.app/${iname}.tar.zst" | docker load
    done
    
  3. Download and load Docker data volumes:

    wget "https://dl.chmtgt.app/docker-compose.yml"
    for vname in {ct-license,pg-data,io-data,}; do
      wget "https://dl.chmtgt.app/${vname}.tar.zst"
      echo "Restoring ${vname}"
      docker compose run --rm -it -v $PWD/${vname}.tar.zst:/tmp/${vname}.tar.zst \
      -v ${vname}:/srv/backup/${vname} \
      helper sh -c "unzstd -c /tmp/${vname}.tar.zst | tar xf - -C /srv/backup" \
      && rm -f ${vname}.tar.zst
    done
    
  4. Start the services:

    docker compose up -d
    
  5. Wait ~15 min for the first run to populate the backend cache.