Collector Update Procedure

  1. Add a line with the version to .env file. For example:

    VERSION=v23.03
    

    or

    VERSION=v23.03.1
    
  2. Download the latest compose file:

    wget https://docs.mitigator.ru/collector/v23.03/dist/docker-compose.yml
    

    Make sure that the target major version number is indicated in the address bar.

  3. Log in to the image repository with your credentials:

    docker login docker.mitigator.ru
    
  4. Download the images:

    docker-compose pull
    
  5. Restart Collector:

    docker-compose down && docker-compose up -d
    

If updating to the latest version from the v22.12 or earlier, then docker-compose down command has to be executed with -v key. This will delete all data.