Skip to content

Chronograf

References

InfluxDB and Kapacitor integration

The service definition provided with IOTstack assumes dependencies on both InfluxDB and Kapacitor.

Upgrading Chronograf

You can update the container via:

$ cd ~/IOTstack
$ docker compose pull
$ docker compose up -d
$ docker system prune -f

In words:

  • docker compose pull downloads any newer images;
  • docker compose up -d causes any newly-downloaded images to be instantiated as containers (replacing the old containers); and
  • the prune gets rid of the outdated images.

Chronograf version pinning

If you need to pin to a particular version:

  1. Set your working directory:

    $ cd ~/IOTstack
    
  2. Use your favourite text editor to open/create an override file at the following path:

    ./services/chronograf/override.yml
    
  3. Make the content of that file look like this:

    chronograf:
      image: chronograf:1.10
    

    Save the file.

  4. Rebuild your stack, and start the container:

    $ ./iotstack_menu.sh build
    $ docker compose up -d chronograf