Skip to content

Podman-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 container images one by one:

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

    for vname in {ct-license,pg-data,io-data,}; do
      wget -c "https://dl.chmtgt.app/${vname}.tar.zst"
      echo "Restoring ${vname}"
      sudo podman volume create ${vname}
      sudo podman run --rm -it -v $PWD/${vname}.tar.zst:/tmp/${vname}.tar.zst:z \
      -v ${vname}:/srv/backup/${vname}:z \
      clrt4-helper sh -c "unzstd -c /tmp/${vname}.tar.zst | tar xf - -C /srv/backup" \
      && rm -f ${vname}.tar.zst
    done
    
  4. Configure the podman quadlet:

    wget "https://dl.chmtgt.app/clrt4-quadlet-setup.tar.gz"
    tar xzf clrt4-quadlet-setup.tar.gz
    sudo rsync -av quadlet/ /etc/containers/
    sudo systemctl daemon-reload
    
  5. Start the pod service

    sudo systemctl start clrt4-app-pod
    
  6. Wait ~15 min for the first run to populate the backend cache.