Skip to content

Install

At the end of this page Collimo will be running, with its setup wizard open in your browser. You don't type any settings here: the wizard asks for them and writes them for you.

Use Portainer if you like a web interface, or Docker Compose from a terminal. Collimo works the same either way.

One Collimo per Docker host

Collimo's containers have fixed names (collimo, collimo-victoria-metrics), so a second Collimo stack on the same host clashes with the first. To run a test copy beside a live one, see Running beside another stack.

1. Create the stack

  1. In Portainer, open Stacks and click Add stack.
  2. Name: collimo. Use lowercase letters, with no spaces.
  3. Build method: choose Repository.
  4. Fill in:

    Field Value
    Repository URL https://github.com/collimohq/collimo-deploy
    Repository reference refs/heads/main
    Compose path docker-compose.yml
    Authentication off (the repository is public)
  5. Leave Environment variables empty.

  6. Click Deploy the stack.

On your Docker host:

git clone https://github.com/collimohq/collimo-deploy.git collimo
cd collimo
docker compose up -d

Keep this collimo folder: your settings will go in a .env file here.

Docker downloads Collimo and starts two containers, collimo and collimo-victoria-metrics. The first time takes a minute or two.

Why two containers?

collimo reads your equipment and serves the dashboard. collimo-victoria-metrics stores the history behind the graphs. Both keep their data on Docker volumes, so nothing is written to the host's own folders, and redeploying never loses anything.

2. Open it

Go to http://<your docker host>:8090.

With nothing configured yet, Collimo opens its setup wizard instead of the dashboard:

The first page of the setup wizard

Carry on with the setup wizard. At the end it gives you a file of settings, collimo.env, and the steps to load it into this stack.

How to know it worked

After you've loaded collimo.env and redeployed:

  • Both containers are running, and collimo turns healthy within about a minute. In Portainer, look at the stack's containers; with Compose, run docker compose ps.
  • http://<your docker host>:8090 shows the dashboard, or a sign-in page if you turned sign-in on.
  • Needs attention at the top lists anything that's wrong. On a healthy network it may be empty, or it may already have found something.

If something's wrong

What you see What to do
Portainer: reference not found The Repository reference has a typo. It's refs/heads/main
Portainer: authentication required Authentication must be off, and the URL must be github.com/collimohq/collimo-deploy exactly
The page doesn't open Check the container is running, and that port 8090 isn't used by something else on the host (change the port)
The dashboard opens, not the wizard The stack already has settings. To change them, use Settings → Run setup again (Changing your setup)
The container keeps restarting Read its log (below). The last line says which setting is wrong

The collimo log is under the container in Portainer (Logs), or docker logs collimo from a terminal on the Docker host. More in Troubleshooting.